git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #141708 from rembo10/headphones-update

headphones: 0.5.19 -> 0.5.20

commit2e39dd11dc3659b01449f8aa4e8b443d44d4b999 authorArtturi <Artturin@artturin.com> dateFri 15 Oct 2021, 09:09 (5 years ago) parent3dac8b20c99408
1 file changed+7−5
pkgs/servers/headphones/default.nix+7−5
pkgs/servers/headphones/default.nix+7−5
@@ -2,13 +2,13 @@
22
33python2.pkgs.buildPythonApplication rec {
44 pname = "headphones";
5− version = "0.5.19";
5+ version = "0.5.20";
66
77 src = fetchFromGitHub {
88 owner = "rembo10";
99 repo = "headphones";
1010 rev = "v${version}";
11− sha256 = "0z39gyan3ksdhnjxxs7byamrzmrk8cn15g300iqigzvgidff1lq0";
11+ sha256 = "0m234fr1i8bb8mgmjsdpkbaa3l16y23ca6s7nyyl5ismmjxhi4mz";
1212 };
1313
1414 dontBuild = true;
@@ -18,10 +18,12 @@ python2.pkgs.buildPythonApplication rec {
1818 buildInputs = [ python2 ];
1919
2020 installPhase = ''
21− mkdir -p $out/bin
22− cp -R {data,headphones,lib,Headphones.py} $out/
21+ mkdir -p $out/bin $out/opt/headphones
22+ cp -R {data,headphones,lib,Headphones.py} $out/opt/headphones
2323
24− makeWrapper $out/Headphones.py $out/bin/headphones
24+ echo v${version} > $out/opt/headphones/version.txt
25+
26+ makeWrapper $out/opt/headphones/Headphones.py $out/bin/headphones
2527 '';
2628
2729 meta = with lib; {