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";
|
2019-08-15 13:41:18 +01:00
|
|
|
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";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.id.ee/;
|
2016-04-26 16:56:49 +01:00
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.jagajaga ];
|
|
|
|
};
|
|
|
|
}
|