mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #61735 from evax/passff-host-1.2.1
passff-host: 1.0.2 -> 1.2.1
This commit is contained in:
commit
2e3295d65f
@ -2,24 +2,21 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "passff-host-${version}";
|
||||
version = "1.0.2";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "passff";
|
||||
repo = "passff-host";
|
||||
rev = version;
|
||||
sha256 = "1zks34rg9i8vphjrj1h80y5rijadx33z911qxa7pslf7ahmjqdv3";
|
||||
sha256 = "0ydfwvhgnw5c3ydx2gn5d7ys9g7cxlck57vfddpv6ix890v21451";
|
||||
};
|
||||
|
||||
buildInputs = [ python3 ];
|
||||
|
||||
patchPhase = ''
|
||||
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 = ''
|
||||
install -D bin/testing/passff.py $out/share/passff-host/passff.py
|
||||
cp bin/testing/passff.json $out/share/passff-host/passff.json
|
||||
|
Loading…
Reference in New Issue
Block a user