3
0
Fork 0
forked from mirrors/nixpkgs

browserpass: 3.0.1 -> 3.0.6

This commit is contained in:
John Wiegley 2019-04-14 12:16:17 -07:00
parent 75b781f5a6
commit 1dc70f969b
No known key found for this signature in database
GPG key ID: C144D8F4F19FE630

View file

@ -8,13 +8,13 @@ let
v2 = callPackage ./2.nix {};
in buildGoPackage rec {
pname = "browserpass";
version = "3.0.1";
version = "3.0.6";
src = fetchFromGitHub {
owner = "browserpass";
repo = "browserpass-native";
rev = version;
sha256 = "1i3xxysiiapz9y2v0gp13inx7j0d7n0khpmcsy9k95pzn53526dx";
sha256 = "0q3bsla07zjl6i69nj1axbkg2ia89pvh0jg6nlqgbm2kpzzbn0pz";
};
nativeBuildInputs = [ makeWrapper ];
@ -27,6 +27,8 @@ in buildGoPackage rec {
# variables to be valid by default
substituteInPlace Makefile \
--replace "PREFIX ?= /usr" ""
sed -i -e 's/SED :=.*/SED := sed/' Makefile
sed -i -e 's/INSTALL :=.*/INSTALL := install/' Makefile
'';
DESTDIR = placeholder "bin";