@@ -1,26 +1,21 @@
11{ stdenv, fetchFromGitHub, git, gnupg, pass, qtbase, qtsvg, qttools, qmake, makeWrapper }:
22
33stdenv.mkDerivation rec {
4− name = "qtpass-${version}";
5− version = "1.2.1";
4+ pname = "qtpass";
5+ version = "1.2.3";
66
77 src = fetchFromGitHub {
88 owner = "IJHack";
99 repo = "QtPass";
1010 rev = "v${version}";
11− sha256 = "0pp38b3fifkfwqcb6vi194ccgb8j3zc8j8jq8ww5ib0wvhldzsg8";
11+ sha256 = "1vfhfyccrxq9snyvayqfzm5rqik8ny2gysyv7nipc91kvhq3bhky";
1212 };
1313
14− patches = [ ./hidpi.patch ];
15−
1614 buildInputs = [ git gnupg pass qtbase qtsvg qttools ];
1715
1816 nativeBuildInputs = [ makeWrapper qmake ];
1917
20− postPatch = ''
21− substituteInPlace qtpass.pro --replace "SUBDIRS += src tests main" "SUBDIRS += src main"
22− substituteInPlace qtpass.pro --replace "main.depends = tests" "main.depends = src"
23− '';
18+ enableParallelBuilding = true;
2419
2520 postInstall = ''
2621 install -D qtpass.desktop $out/share/applications/qtpass.desktop