git.iko.soy/typeable/nixpkgs
on master help sign in
ponymix: fix build
commit215ed16bad253979a615455a086d258798343203 authorEric Sagnes <eric.sagnes@gmail.com> dateFri 7 Oct 2016, 15:18 (10 years ago) parentcb1d475
1 file changed+11−6
pkgs/applications/audio/ponymix/default.nix+11−6
pkgs/applications/audio/ponymix/default.nix+11−6
@@ -1,11 +1,14 @@
1−{ stdenv, fetchurl, libpulseaudio, libnotify, pkgconfig }:
1+{ stdenv, fetchFromGitHub, libpulseaudio, libnotify, pkgconfig }:
22
33stdenv.mkDerivation rec {
44 name = "ponymix-${version}";
55 version = "5";
6− src = fetchurl {
7− url = "http://code.falconindy.com/archive/ponymix/${name}.tar.xz";
8− sha256 = "0qn2kms9h9b7da2xzkdgzrykhhdywr4psxnz03j8rg7wa9nwfw0x";
6+
7+ src = fetchFromGitHub {
8+ owner = "falconindy";
9+ repo = "ponymix";
10+ rev = version;
11+ sha256 = "08yp7fprmzm6px5yx2rvzri0l60bra5h59l26pn0k071a37ks1rb";
912 };
1013
1114 buildInputs = [ libpulseaudio libnotify ];
@@ -13,9 +16,11 @@ stdenv.mkDerivation rec {
1316
1417 postPatch = ''substituteInPlace Makefile --replace "\$(DESTDIR)/usr" "$out"'';
1518
16− meta = {
19+ meta = with stdenv.lib; {
1720 description = "CLI PulseAudio Volume Control";
1821 homepage = "http://github.com/falconindy/ponymix";
19− license = "mit";
22+ license = licenses.mit;
23+ platforms = platforms.linux;
24+ maintainers = with maintainers; [ ericsagnes ];
2025 };
2126}