2017-02-21 23:22:08 +01:00
|
|
|
{ stdenv, fetchFromGitHub,
|
|
|
|
cmake, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, qttools, libgpgerror
|
|
|
|
, withKeePassHTTP ? true
|
|
|
|
}:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
2016-08-29 02:02:19 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-02 03:21:34 +01:00
|
|
|
name = "keepassx-community-${version}";
|
2017-04-11 02:54:23 +02:00
|
|
|
version = "2.1.4";
|
2016-08-29 02:02:19 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2016-10-18 05:43:11 +02:00
|
|
|
owner = "keepassxreboot";
|
2017-02-02 03:21:34 +01:00
|
|
|
repo = "keepassxc";
|
|
|
|
rev = "${version}";
|
2017-04-11 02:54:23 +02:00
|
|
|
sha256 = "1znnw2xpv58x0rbpmm4y662377mbmcilhf8mhhjsz8vhahms33a8";
|
2016-08-29 02:02:19 +02:00
|
|
|
};
|
|
|
|
|
2017-02-21 23:22:08 +01:00
|
|
|
cmakeFlags = optional (withKeePassHTTP) [ "-DWITH_XC_HTTP=ON" ];
|
|
|
|
|
|
|
|
buildInputs = [ cmake libgcrypt zlib qtbase qttools libXtst libmicrohttpd libgpgerror ];
|
2016-08-29 02:02:19 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Fork of the keepassX password-manager with additional http-interface to allow browser-integration an use with plugins such as PasslFox (https://github.com/pfn/passifox). See also keepassX2.";
|
2017-02-02 03:21:34 +01:00
|
|
|
homepage = https://github.com/keepassxreboot/keepassxc;
|
2016-08-29 02:02:19 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-10-18 05:43:11 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ s1lvester jonafato ];
|
2016-08-29 02:02:19 +02:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|