qtpass: 1.1.0 -> 1.1.1
Updates qtpass and fixes the current installation method. It further installs the desktop file and application icon.
This commit is contained in:
parent
3db3355c83
commit
3895a0b7dd
@ -1,15 +1,17 @@
|
|||||||
{ stdenv, fetchurl, git, gnupg, makeQtWrapper, pass, qtbase, qtsvg, qttools, qmakeHook }:
|
{ stdenv, fetchzip, git, gnupg, makeQtWrapper, pass, qtbase, qtsvg, qttools, qmakeHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qtpass-${version}";
|
name = "qtpass-${version}";
|
||||||
version = "1.1.0";
|
version = "1.1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchzip {
|
||||||
url = "https://github.com/IJHack/qtpass/archive/v${version}.tar.gz";
|
url = "https://github.com/IJHack/qtpass/archive/v${version}.tar.gz";
|
||||||
sha256 = "60b458062f54184057e55dbd9c93958a8bf845244ffd70b9cb31bf58697f0dc6";
|
sha256 = "1x1ic9as0a60gz664sf8d1qiq64ji7q60g19x0rlm3bvcp2612c8";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ git gnupg makeQtWrapper pass qtbase qtsvg qttools qmakeHook ];
|
buildInputs = [ git gnupg pass qtbase qtsvg qttools ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeQtWrapper qmakeHook ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
qmakeFlags="$qmakeFlags CONFIG+=release DESTDIR=$out"
|
qmakeFlags="$qmakeFlags CONFIG+=release DESTDIR=$out"
|
||||||
@ -18,9 +20,12 @@ stdenv.mkDerivation rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir $out/bin
|
mkdir $out/bin
|
||||||
mv $out/qtpass $out/bin
|
mv $out/qtpass $out/bin
|
||||||
|
install -D {,$out/share/applications/}qtpass.desktop
|
||||||
|
install -D artwork/icon.svg $out/share/icons/hicolor/scalable/apps/qtpass-icon.svg
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postInstall = ''
|
||||||
wrapQtProgram $out/bin/qtpass \
|
wrapQtProgram $out/bin/qtpass \
|
||||||
--suffix PATH : ${git}/bin \
|
--suffix PATH : ${git}/bin \
|
||||||
--suffix PATH : ${gnupg}/bin \
|
--suffix PATH : ${gnupg}/bin \
|
||||||
@ -29,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A multi-platform GUI for pass, the standard unix password manager";
|
description = "A multi-platform GUI for pass, the standard unix password manager";
|
||||||
homepage = https://github.com/IJHack/qtpass;
|
homepage = https://qtpass.org;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = [ maintainers.hrdinka ];
|
maintainers = [ maintainers.hrdinka ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user