at 18.03-beta 28 lines 752 B view raw
1{ stdenv, fetchurl, cmake, openssl, pcsclite, opensc, libxml2 }: 2 3stdenv.mkDerivation rec { 4 5 version = "3.10.1.1212"; 6 name = "libdigidoc-${version}"; 7 8 src = fetchurl { 9 url = "https://installer.id.ee/media/ubuntu/pool/main/libd/libdigidoc/libdigidoc_3.10.1.1212.orig.tar.xz"; 10 sha256 = "ad5e0603aea2e02977f17318cc93a53c3a19a815e57b2347d97136d11c110807"; 11 }; 12 13 unpackPhase = '' 14 mkdir src 15 tar xf $src -C src 16 cd src 17 ''; 18 19 buildInputs = [ cmake openssl pcsclite opensc libxml2 ]; 20 21 meta = with stdenv.lib; { 22 description = "Library for creating DigiDoc signature files"; 23 homepage = http://www.id.ee/; 24 license = licenses.lgpl2; 25 platforms = platforms.linux; 26 maintainers = [ maintainers.jagajaga ]; 27 }; 28}