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

25 lines
675 B
Nix
Raw Normal View History

2016-04-26 16:56:49 +01:00
{ stdenv, fetchurl, cmake, openssl, pcsclite, opensc, libxml2 }:
stdenv.mkDerivation rec {
2020-02-07 12:39:59 +00:00
version = "3.10.5";
pname = "libdigidoc";
2018-06-21 10:22:22 +01:00
2016-04-26 16:56:49 +01:00
src = fetchurl {
2018-06-21 10:22:22 +01:00
url = "https://github.com/open-eid/libdigidoc/releases/download/v${version}/libdigidoc-${version}.tar.gz";
2020-02-07 12:39:59 +00:00
sha256 = "0nw36a4i6rcq7z6jqz5h2ln9hmmsfhw65jga3rymlswk2k7bndgn";
2016-04-26 16:56:49 +01:00
};
2018-06-21 10:22:22 +01:00
nativeBuildInputs = [ cmake ];
buildInputs = [ openssl pcsclite opensc libxml2 ];
2016-04-26 16:56:49 +01:00
meta = with stdenv.lib; {
description = "Library for creating DigiDoc signature files";
homepage = http://www.id.ee/;
2016-04-26 16:56:49 +01:00
license = licenses.lgpl2;
platforms = platforms.linux;
maintainers = [ maintainers.jagajaga ];
};
}