3
0
Fork 0
forked from mirrors/nixpkgs

volumeicon: use github as source

Currently http://softwarebakery.com/maato is down. The alternative is
also based on http, not https. It seems nicer to use github.

In order to use GitHub as the source, autogen.sh needs to be executed.
This commit is contained in:
Bob van der Linden 2022-07-31 17:25:06 +02:00
parent 7b9be38c72
commit 6a84883df0
No known key found for this signature in database
GPG key ID: EEBE8E3EC4A31364

View file

@ -1,24 +1,36 @@
{ pkgs, fetchurl, lib, stdenv, gtk3, pkg-config, intltool, alsa-lib }: { fetchFromGitHub, lib, stdenv
, autoreconfHook, intltool, pkg-config
, gtk3, alsa-lib
}:
stdenv.mkDerivation { stdenv.mkDerivation rec {
pname = "volumeicon"; pname = "volumeicon";
version = "0.5.1"; version = "0.5.1";
src = fetchurl { src = fetchFromGitHub {
url = "http://softwarebakery.com/maato/files/volumeicon/volumeicon-0.5.1.tar.gz"; owner = "Maato";
sha256 = "182xl2w8syv6ky2h2bc9imc6ap8pzh0p7rp63hh8nw0xm38c3f14"; repo = "volumeicon";
rev = version;
hash = "sha256-zYKC7rOoLf08rV4B43TrGNBcXfSBFxWZCe9bQD9JzaA";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [
buildInputs = [ gtk3 intltool alsa-lib ]; autoreconfHook
intltool
pkg-config
];
buildInputs = [
gtk3
alsa-lib
];
meta = with lib; { meta = with lib; {
description = "A lightweight volume control that sits in your systray"; description = "A lightweight volume control that sits in your systray";
homepage = "http://softwarebakery.com/maato/volumeicon.html"; homepage = "http://nullwise.com/volumeicon.html";
platforms = pkgs.lib.platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ bobvanderlinden ]; maintainers = with maintainers; [ bobvanderlinden ];
license = pkgs.lib.licenses.gpl3; license = licenses.gpl3;
}; };
} }