31 lines
1.0 KiB
Nix
31 lines
1.0 KiB
Nix
{ stdenv, fetchFromGitHub,
|
|
cmake, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, qttools, libgpgerror
|
|
, withKeePassHTTP ? true
|
|
}:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "keepassx-community-${version}";
|
|
version = "2.1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "keepassxreboot";
|
|
repo = "keepassxc";
|
|
rev = "${version}";
|
|
sha256 = "1zamk3dc44fn61b880i3l1r0np2sx2hs05cvcf2x4748r3xicacf";
|
|
};
|
|
|
|
cmakeFlags = optional (withKeePassHTTP) [ "-DWITH_XC_HTTP=ON" ];
|
|
|
|
buildInputs = [ cmake libgcrypt zlib qtbase qttools libXtst libmicrohttpd libgpgerror ];
|
|
|
|
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.";
|
|
homepage = https://github.com/keepassxreboot/keepassxc;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = with stdenv.lib.maintainers; [ s1lvester jonafato ];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|