headphones: 0.5.19 -> 0.5.20
This commit is contained in:
parent
ee174a27c7
commit
0c99408018
1 changed files with 7 additions and 5 deletions
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
python2.pkgs.buildPythonApplication rec {
|
python2.pkgs.buildPythonApplication rec {
|
||||||
pname = "headphones";
|
pname = "headphones";
|
||||||
version = "0.5.19";
|
version = "0.5.20";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rembo10";
|
owner = "rembo10";
|
||||||
repo = "headphones";
|
repo = "headphones";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0z39gyan3ksdhnjxxs7byamrzmrk8cn15g300iqigzvgidff1lq0";
|
sha256 = "0m234fr1i8bb8mgmjsdpkbaa3l16y23ca6s7nyyl5ismmjxhi4mz";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
@ -18,10 +18,12 @@ python2.pkgs.buildPythonApplication rec {
|
||||||
buildInputs = [ python2 ];
|
buildInputs = [ python2 ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin $out/opt/headphones
|
||||||
cp -R {data,headphones,lib,Headphones.py} $out/
|
cp -R {data,headphones,lib,Headphones.py} $out/opt/headphones
|
||||||
|
|
||||||
makeWrapper $out/Headphones.py $out/bin/headphones
|
echo v${version} > $out/opt/headphones/version.txt
|
||||||
|
|
||||||
|
makeWrapper $out/opt/headphones/Headphones.py $out/bin/headphones
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue