browserpass: init (broken)
This commit is contained in:
parent
61e89a0b2b
commit
81f953baee
1 changed files with 28 additions and 0 deletions
28
derivations/pkgs/browserpass/default.nix
Normal file
28
derivations/pkgs/browserpass/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
with import <nixpkgs> {};
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
broken = true;
|
||||||
|
|
||||||
|
name = "browserpass";
|
||||||
|
version = "2.0.9";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://github.com/dannyvankooten/browserpass/releases/download/${version}/${name}-linux64.zip";
|
||||||
|
sha256 = "1nygcfjhyrcvbdmz4hjphcnmr4lm9y24lpdkdcjix6vbsjs0hipw";
|
||||||
|
stripRoot = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
buildPhase = '':'';
|
||||||
|
|
||||||
|
libPath = lib.makeLibraryPath [ ];
|
||||||
|
installPhase = ''
|
||||||
|
set -x
|
||||||
|
patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux-x86-64.so.2 browserpass-linux64
|
||||||
|
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp -a * $out/bin/
|
||||||
|
# wrapProgram $out/bin/browserpass-linux64 \
|
||||||
|
# --prefix LD_LIBRARY_PATH : "${libPath}"
|
||||||
|
#
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue