nixpkgs/pkgs/development/libraries/libdigidocpp/default.nix

28 lines
839 B
Nix
Raw Normal View History

2016-04-26 20:12:55 +00:00
{ stdenv, fetchurl, cmake, libdigidoc, minizip, pcsclite, opensc, openssl
2018-06-21 08:38:33 +00:00
, xercesc, xml-security-c, pkgconfig, xsd, zlib, xalanc, xxd }:
2016-04-26 20:12:55 +00:00
stdenv.mkDerivation rec {
2018-11-08 11:41:38 +00:00
version = "3.13.7";
2016-04-26 20:12:55 +00:00
name = "libdigidocpp-${version}";
src = fetchurl {
2018-06-21 08:38:33 +00:00
url = "https://github.com/open-eid/libdigidocpp/releases/download/v${version}/libdigidocpp-${version}.tar.gz";
2018-11-08 11:41:38 +00:00
sha256 = "1d8yx8avijp55p53fz4pd4ihjz6nyap0g8dq23bwg33411mdiqff";
2016-04-26 20:12:55 +00:00
};
2018-06-21 08:38:33 +00:00
nativeBuildInputs = [ cmake pkgconfig xxd ];
buildInputs = [
libdigidoc minizip pcsclite opensc openssl xercesc
xml-security-c xsd zlib xalanc
];
2016-04-26 20:12:55 +00:00
meta = with stdenv.lib; {
description = "Library for creating DigiDoc signature files";
homepage = http://www.id.ee/;
2016-04-26 20:12:55 +00:00
license = licenses.lgpl2;
platforms = platforms.linux;
maintainers = [ maintainers.jagajaga ];
};
}