nixpkgs/pkgs/applications/misc/keepassx/community.nix

31 lines
1.0 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub,
cmake, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, qttools, libgpgerror
, withKeePassHTTP ? true
}:
with stdenv.lib;
2016-08-29 01:02:19 +01:00
stdenv.mkDerivation rec {
name = "keepassx-community-${version}";
version = "2.1.2";
2016-08-29 01:02:19 +01:00
src = fetchFromGitHub {
owner = "keepassxreboot";
repo = "keepassxc";
rev = "${version}";
sha256 = "0ncc157xki1mzxfa41bgwjfsz5jq9sq750ka578lq61smyzh5lq6";
2016-08-29 01:02:19 +01:00
};
cmakeFlags = optional (withKeePassHTTP) [ "-DWITH_XC_HTTP=ON" ];
buildInputs = [ cmake libgcrypt zlib qtbase qttools libXtst libmicrohttpd libgpgerror ];
2016-08-29 01:02:19 +01: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.";
homepage = https://github.com/keepassxreboot/keepassxc;
2016-08-29 01:02:19 +01:00
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ s1lvester jonafato ];
2016-08-29 01:02:19 +01:00
platforms = with stdenv.lib.platforms; linux;
};
}