nixpkgs-suyu/pkgs/applications/misc/xca/default.nix

36 lines
945 B
Nix
Raw Normal View History

2018-05-30 07:10:47 +02:00
{ mkDerivation, lib, fetchFromGitHub, autoreconfHook, perl, pkgconfig, which
2017-05-17 21:26:11 +02:00
, libtool, openssl, qtbase, qttools }:
2017-05-17 21:26:11 +02:00
mkDerivation rec {
name = "xca-${version}";
2018-05-30 07:10:47 +02:00
version = "2.0.1";
2018-05-30 07:10:47 +02:00
src = fetchFromGitHub {
owner = "chris2511";
repo = "xca";
rev = "RELEASE.${version}";
sha256 = "0906xnmqzd9q5irxzm19361vhzig9yqsmf6wsc3rggniix5bk3a8";
};
2018-05-30 07:10:47 +02:00
postPatch = ''
substituteInPlace doc/code2html \
--replace /usr/bin/perl ${perl}/bin/per l
'';
buildInputs = [ libtool openssl qtbase qttools ];
2018-05-30 07:10:47 +02:00
nativeBuildInputs = [ autoreconfHook pkgconfig which ];
enableParallelBuilding = true;
2017-03-03 20:34:33 +01:00
configureFlags = [ "CXXFLAGS=-std=c++11" ];
2017-05-17 21:26:11 +02:00
meta = with lib; {
description = "Interface for managing asymetric keys like RSA or DSA";
2018-02-14 01:16:34 +01:00
homepage = http://xca.sourceforge.net/;
license = licenses.bsd3;
maintainers = with maintainers; [ offline peterhoeg ];
2018-02-14 01:16:34 +01:00
platforms = platforms.all;
};
}