summary refs log tree commit diff
path: root/pkgs/desktops/kde-4.4/support/qca2/ossl.nix
blob: 6385919305d8e2a7f1853712663e8bd6a6610a1d (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
{stdenv, fetchurl, lib, qt4, qca2, openssl}:

stdenv.mkDerivation rec {
  name = "qca-ossl-2.0.0-beta3";
  src = fetchurl {
    url = "http://delta.affinix.com/download/qca/2.0/plugins/${name}.tar.bz2";
    sha256 = "0yy68racvx3clybry2i1bw5bz9yhxr40p3xqagxxb15ihvsrzq08";
  };
  buildInputs = [ qt4 qca2 openssl ];
  dontAddPrefix = true;
  configureFlags="--no-separate-debug-info --with-qca=${qca2}
    --with-openssl-inc=${openssl}/include --with-openssl-lib=${openssl}/lib";
  preConfigure=''
    configureFlags="$configureFlags --plugins-path=$out/plugins"
  '';
  patches = [ ./ossl-remove-whirlpool.patch ];
  meta = {
    description = "Qt Cryptographic Architecture OpenSSL plugin";
    license = "LGPL";
    homepage = http://delta.affinix.com/qca;
    maintainers = [ lib.maintainers.urkud ];
  };
}