passExtensions.pass-update: 2.0 -> 2.1

This commit is contained in:
Maximilian Bosch 2020-03-15 23:51:38 +01:00
parent b25633a6f9
commit 22228d1917
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -2,15 +2,20 @@
stdenv.mkDerivation rec {
pname = "pass-update";
version = "2.0";
version = "2.1";
src = fetchFromGitHub {
owner = "roddhjav";
repo = "pass-update";
rev = "v${version}";
sha256 = "0a81q0jfni185zmbislzbcv0qr1rdp0cgr9wf9riygis2xv6rs6k";
sha256 = "0yx8w97jcp6lv7ad5jxqnj04csbrn2hhc4pskssxknw2sbvg4g6c";
};
postPatch = ''
substituteInPlace Makefile \
--replace "BASHCOMPDIR ?= /etc/bash_completion.d" "BASHCOMPDIR ?= $out/etc/bash_completion.d"
'';
dontBuild = true;
installFlags = [ "PREFIX=$(out)" ];