Merge pull request #141708 from rembo10/headphones-update

headphones: 0.5.19 -> 0.5.20

authored by Artturi and committed by GitHub 2e39dd11 3dac8b26

+7 -5
+7 -5
pkgs/servers/headphones/default.nix
··· 2 2 3 3 python2.pkgs.buildPythonApplication rec { 4 4 pname = "headphones"; 5 - version = "0.5.19"; 5 + version = "0.5.20"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "rembo10"; 9 9 repo = "headphones"; 10 10 rev = "v${version}"; 11 - sha256 = "0z39gyan3ksdhnjxxs7byamrzmrk8cn15g300iqigzvgidff1lq0"; 11 + sha256 = "0m234fr1i8bb8mgmjsdpkbaa3l16y23ca6s7nyyl5ismmjxhi4mz"; 12 12 }; 13 13 14 14 dontBuild = true; ··· 18 18 buildInputs = [ python2 ]; 19 19 20 20 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 23 23 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 25 27 ''; 26 28 27 29 meta = with lib; {