mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
1253cd926c
Fixes CVE-2015-8359 and CVE-2015-8378. Also switch URL to new download location.
27 lines
759 B
Nix
27 lines
759 B
Nix
{ stdenv, fetchurl, bzip2, qt4, 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";
|
|
};
|
|
|
|
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 jgeerds ];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|