3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libdigidocpp/default.nix

28 lines
812 B
Nix
Raw Normal View History

2021-08-14 12:42:06 +01:00
{ lib, stdenv, fetchurl, cmake, minizip, pcsclite, opensc, openssl
, xercesc, xml-security-c, pkg-config, xsd, zlib, xalanc, xxd }:
2016-04-26 21:12:55 +01:00
stdenv.mkDerivation rec {
2021-08-14 12:42:06 +01:00
version = "3.14.7";
pname = "libdigidocpp";
2016-04-26 21:12:55 +01:00
src = fetchurl {
2018-06-21 09:38:33 +01:00
url = "https://github.com/open-eid/libdigidocpp/releases/download/v${version}/libdigidocpp-${version}.tar.gz";
2021-08-14 12:42:06 +01:00
sha256 = "sha256-QdctW2+T8kPNUJv30pXZ/qfnw1Uhq6gScSjUI+bZMfY=";
2016-04-26 21:12:55 +01:00
};
nativeBuildInputs = [ cmake pkg-config xxd ];
2018-06-21 09:38:33 +01:00
buildInputs = [
2021-08-14 12:42:06 +01:00
minizip pcsclite opensc openssl xercesc
2018-06-21 09:38:33 +01:00
xml-security-c xsd zlib xalanc
];
2016-04-26 21:12:55 +01:00
meta = with lib; {
2016-04-26 21:12:55 +01:00
description = "Library for creating DigiDoc signature files";
homepage = "http://www.id.ee/";
2021-08-14 12:42:06 +01:00
license = licenses.lgpl21Plus;
2016-04-26 21:12:55 +01:00
platforms = platforms.linux;
maintainers = [ maintainers.jagajaga ];
};
}