about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/keepassx/2.0.nix
blob: 86bd7d0849ec4e1451f2f554f7af70cf1a487c82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, stdenv, fetchurl, cmake, libgcrypt, qt4, xorg }:

stdenv.mkDerivation rec {
  pname = "keepassx2";
  version = "2.0.3";

  src = fetchurl {
    url = "https://www.keepassx.org/releases/${version}/keepassx-${version}.tar.gz";
    sha256 = "1ia7cqx9ias38mnffsl7da7g1f66bcbjsi23k49sln0c6spb9zr3";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ libgcrypt qt4 xorg.libXtst ];

  meta = {
    description = "Qt password manager compatible with its Win32 and Pocket PC versions";
    homepage = "https://www.keepassx.org/";
    license = lib.licenses.gpl2;
    maintainers = with lib.maintainers; [ qknight ];
    platforms = with lib.platforms; linux;
  };
}