pell: 0.0.3 -> 0.0.4

+7 -5
+7 -5
pkgs/applications/misc/pell/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pell"; 5 - version = "0.0.3"; 5 + version = "0.0.4"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "ebzzry"; 10 10 repo = pname; 11 - rev = "c25ddd257dd1d1481df5ccac0f99f6bee1ee1ebb"; 12 - sha256 = "0fharadbf63mgpmafs8d4k9h83jj9naxldp240xnc5gkna32a07y"; 11 + rev = "f251625ece6bb5517227970287119e7d2dfcea8b"; 12 + sha256 = "0k8m1lv2kyrs8fylxmbgxg3jn65g57frf2bndc82gkr5svwb554a"; 13 13 }; 14 14 15 15 installPhase = '' 16 16 mkdir -p $out/bin 17 17 mkdir -p $out/share 18 18 cp pell $out/bin 19 - cp resources/notification.mp3 $out/share 19 + cp resources/online.mp3 $out/share 20 + cp resources/offline.mp3 $out/share 20 21 chmod +x $out/bin/pell 21 22 ''; 22 23 ··· 24 25 substituteInPlace $out/bin/pell --replace "/usr/bin/env scsh" "${scsh}/bin/scsh" 25 26 substituteInPlace $out/bin/pell --replace "(play " "(${sox}/bin/play " 26 27 substituteInPlace $out/bin/pell --replace "(notify-send " "(${libnotify}/bin/notify-send " 27 - substituteInPlace $out/bin/pell --replace "/usr/share/pell/notification.mp3" "$out/share/notification.mp3" 28 + substituteInPlace $out/bin/pell --replace "/usr/share/pell/online.mp3" "$out/share/online.mp3" 29 + substituteInPlace $out/bin/pell --replace "/usr/share/pell/offline.mp3" "$out/share/offline.mp3" 28 30 ''; 29 31 30 32 meta = with stdenv.lib; {