passff-host: 1.0.2 -> 1.2.1
This commit is contained in:
parent
10e77ee9bf
commit
af29de6cf2
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "passff-host-${version}";
|
name = "passff-host-${version}";
|
||||||
version = "1.0.2";
|
version = "1.2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "passff";
|
owner = "passff";
|
||||||
repo = "passff-host";
|
repo = "passff-host";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1zks34rg9i8vphjrj1h80y5rijadx33z911qxa7pslf7ahmjqdv3";
|
sha256 = "0ydfwvhgnw5c3ydx2gn5d7ys9g7cxlck57vfddpv6ix890v21451";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python3 ];
|
buildInputs = [ python3 ];
|
||||||
@ -17,9 +17,6 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i 's#COMMAND = "pass"#COMMAND = "${pass}/bin/pass"#' src/passff.py
|
sed -i 's#COMMAND = "pass"#COMMAND = "${pass}/bin/pass"#' src/passff.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = "cd src";
|
|
||||||
postBuild = "cd ..";
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -D bin/testing/passff.py $out/share/passff-host/passff.py
|
install -D bin/testing/passff.py $out/share/passff-host/passff.py
|
||||||
cp bin/testing/passff.json $out/share/passff-host/passff.json
|
cp bin/testing/passff.json $out/share/passff-host/passff.json
|
||||||
|
Loading…
Reference in New Issue
Block a user