1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/misc/xca/default.nix

38 lines
996 B
Nix
Raw Normal View History

2017-05-17 20:26:11 +01:00
{ mkDerivation, lib, fetchurl, pkgconfig, which
, libtool, openssl, qtbase, qttools }:
2017-05-17 20:26:11 +01:00
with lib;
2017-05-17 20:26:11 +01:00
mkDerivation rec {
name = "xca-${version}";
2015-12-02 22:01:00 +00:00
version = "1.3.2";
src = fetchurl {
url = "mirror://sourceforge/xca/${name}.tar.gz";
2015-12-02 22:01:00 +00:00
sha256 = "1r2w9gpahjv221j963bd4vn0gj4cxmb9j42f3cd9qdn890hizw84";
};
2017-04-28 01:32:24 +01:00
enableParallelBuilding = true;
buildInputs = [ libtool openssl qtbase qttools ];
2017-05-17 20:26:11 +01:00
nativeBuildInputs = [ pkgconfig which ];
2017-03-03 19:34:33 +00:00
configureFlags = [ "CXXFLAGS=-std=c++11" ];
preBuild = ''
substituteInPlace Local.mak \
--replace ${qtbase}/bin/moc ${qtbase.dev}/bin/moc \
--replace ${qtbase}/bin/uic ${qtbase.dev}/bin/uic
'';
2017-05-17 20:26:11 +01:00
meta = with lib; {
description = "Interface for managing asymetric keys like RSA or DSA";
homepage = http://xca.sourceforge.net/;
platforms = platforms.all;
license = licenses.bsd3;
maintainers = with maintainers; [ offline peterhoeg ];
2017-04-28 01:32:24 +01:00
broken = builtins.compareVersions qtbase.version "5.7.0" == 0;
};
}