about summary refs log tree commit diff
path: root/pkgs/applications/misc/keepassx/default.nix
blob: ed706b138cc572556c36927aa47ba386151c060e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchurl, bzip2, qt4, qmake4Hook, libX11, xextproto, libXtst }:

stdenv.mkDerivation rec {
  name = "keepassx-${version}";
  version = "0.4.4";

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

  patches = [ ./random.patch ];

  buildInputs = [ bzip2 qt4 libX11 xextproto libXtst ];

  nativeBuildInputs = [ qmake4Hook ];

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