2016-04-26 16:56:49 +01:00
|
|
|
{ stdenv, fetchurl, cmake, openssl, pcsclite, opensc, libxml2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2018-06-21 10:22:22 +01:00
|
|
|
version = "3.10.4";
|
2016-04-26 16:56:49 +01:00
|
|
|
name = "libdigidoc-${version}";
|
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";
|
|
|
|
sha256 = "0w5wsaj2a5wss1r9j39bfsrkp3xz0w3v1gnr190v6k7l74l453w1";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|