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

28 lines
830 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, cmake, libdigidoc, 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-03-03 00:51:09 +00:00
version = "3.14.5";
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-03-03 00:51:09 +00:00
sha256 = "sha256-PSrYoz5ID88pYs/4rP2kz0NpI0pK6wcnx62HokE0g20=";
2016-04-26 21:12:55 +01:00
};
nativeBuildInputs = [ cmake pkg-config xxd ];
2018-06-21 09:38:33 +01:00
buildInputs = [
libdigidoc minizip pcsclite opensc openssl xercesc
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/";
2016-04-26 21:12:55 +01:00
license = licenses.lgpl2;
platforms = platforms.linux;
maintainers = [ maintainers.jagajaga ];
};
}