@@ -0,0 +1,35 @@
1+{ stdenv, fetchurl, git, gnupg, makeWrapper, pass, qt5 }:
3+stdenv.mkDerivation rec {
4+ name = "qtpass-${version}";
8+ url = "https://github.com/IJHack/qtpass/archive/v${version}.tar.gz";
9+ sha256 = "14avh04q559p64ska1w814pbwv0742aaqln036pw99fjxav685g0";
12+ buildInputs = [ git gnupg makeWrapper pass qt5.base ];
14+ configurePhase = "qmake CONFIG+=release PREFIX=$out DESTDIR=$out";
18+ mv $out/qtpass $out/bin
22+ wrapProgram $out/bin/qtpass \
23+ --suffix PATH : ${git}/bin \
24+ --suffix PATH : ${gnupg}/bin \
25+ --suffix PATH : ${pass}/bin
28+ meta = with stdenv.lib; {
29+ description = "A multi-platform GUI for pass, the standard unix password manager";
30+ homepage = https://github.com/IJHack/qtpass;
31+ license = licenses.gpl3;
32+ maintainers = [ maintainers.hrdinka ];
33+ platforms = platforms.all;