Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 24 lines 675 B view raw
1{ stdenv, fetchurl, cmake, openssl, pcsclite, opensc, libxml2 }: 2 3stdenv.mkDerivation rec { 4 5 version = "3.10.5"; 6 pname = "libdigidoc"; 7 8 src = fetchurl { 9 url = "https://github.com/open-eid/libdigidoc/releases/download/v${version}/libdigidoc-${version}.tar.gz"; 10 sha256 = "0nw36a4i6rcq7z6jqz5h2ln9hmmsfhw65jga3rymlswk2k7bndgn"; 11 }; 12 13 nativeBuildInputs = [ cmake ]; 14 15 buildInputs = [ openssl pcsclite opensc libxml2 ]; 16 17 meta = with stdenv.lib; { 18 description = "Library for creating DigiDoc signature files"; 19 homepage = http://www.id.ee/; 20 license = licenses.lgpl2; 21 platforms = platforms.linux; 22 maintainers = [ maintainers.jagajaga ]; 23 }; 24}