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