summary refs log tree commit diff
path: root/pkgs/applications/misc/keepassx/default.nix
blob: fc089f4fa5b7d3728f29572cd0e7f936d369a655 (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
26
{ stdenv, fetchurl, bzip2, qt4, libX11, xextproto, libXtst }:

stdenv.mkDerivation rec {
  name = "keepassx-0.4.3";

  src = fetchurl {
    url = "mirror://sourceforge/keepassx/${name}.tar.gz";
    sha256 = "cd901a0611ce57e62cf6df7eeeb1b690b5232302bdad8626994eb54adcfa1e85";
  };

  configurePhase = ''
    qmake PREFIX=$out 
  '';

  patches = [ ./random.patch ];

  buildInputs = [ bzip2 qt4 libX11 xextproto libXtst ];

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