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.

+23 -11
+23 -11
pkgs/tools/audio/volumeicon/default.nix
··· 1 - { pkgs, fetchurl, lib, stdenv, gtk3, pkg-config, intltool, alsa-lib }: 2 3 - stdenv.mkDerivation { 4 pname = "volumeicon"; 5 version = "0.5.1"; 6 7 - src = fetchurl { 8 - url = "http://softwarebakery.com/maato/files/volumeicon/volumeicon-0.5.1.tar.gz"; 9 - sha256 = "182xl2w8syv6ky2h2bc9imc6ap8pzh0p7rp63hh8nw0xm38c3f14"; 10 }; 11 12 - nativeBuildInputs = [ pkg-config ]; 13 - buildInputs = [ gtk3 intltool alsa-lib ]; 14 15 meta = with lib; { 16 description = "A lightweight volume control that sits in your systray"; 17 - homepage = "http://softwarebakery.com/maato/volumeicon.html"; 18 - platforms = pkgs.lib.platforms.linux; 19 maintainers = with maintainers; [ bobvanderlinden ]; 20 - license = pkgs.lib.licenses.gpl3; 21 }; 22 - 23 } 24
··· 1 + { fetchFromGitHub, lib, stdenv 2 + , autoreconfHook, intltool, pkg-config 3 + , gtk3, alsa-lib 4 + }: 5 6 + stdenv.mkDerivation rec { 7 pname = "volumeicon"; 8 version = "0.5.1"; 9 10 + src = fetchFromGitHub { 11 + owner = "Maato"; 12 + repo = "volumeicon"; 13 + rev = version; 14 + hash = "sha256-zYKC7rOoLf08rV4B43TrGNBcXfSBFxWZCe9bQD9JzaA"; 15 }; 16 17 + nativeBuildInputs = [ 18 + autoreconfHook 19 + intltool 20 + pkg-config 21 + ]; 22 + 23 + buildInputs = [ 24 + gtk3 25 + alsa-lib 26 + ]; 27 28 meta = with lib; { 29 description = "A lightweight volume control that sits in your systray"; 30 + homepage = "http://nullwise.com/volumeicon.html"; 31 + platforms = platforms.linux; 32 maintainers = with maintainers; [ bobvanderlinden ]; 33 + license = licenses.gpl3; 34 }; 35 } 36