forked from mirrors/nixpkgs
e562f9f9c6
Semi-automatic update. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 3.13.3.1365 with grep in /nix/store/bh5cizakj0dkmmwqqg4bvmhyvqd8x28n-libdigidocpp-3.13.3.1365 - found 3.13.3.1365 in filename of file in /nix/store/bh5cizakj0dkmmwqqg4bvmhyvqd8x28n-libdigidocpp-3.13.3.1365
32 lines
900 B
Nix
32 lines
900 B
Nix
{ stdenv, fetchurl, cmake, libdigidoc, minizip, pcsclite, opensc, openssl
|
|
, xercesc, xml-security-c, pkgconfig, xsd, zlib, vim }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "3.13.3.1365";
|
|
name = "libdigidocpp-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://installer.id.ee/media/ubuntu/pool/main/libd/libdigidocpp/libdigidocpp_3.13.3.1365.orig.tar.xz";
|
|
sha256 = "1xmvjh5xzspm6ja8hz6bzblwly7yn2jni2m6kx8ny9g65zjrj2iw";
|
|
};
|
|
|
|
unpackPhase = ''
|
|
mkdir src
|
|
tar xf $src -C src
|
|
cd src
|
|
'';
|
|
|
|
buildInputs = [ cmake libdigidoc minizip pcsclite opensc openssl xercesc
|
|
xml-security-c pkgconfig xsd zlib vim
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Library for creating DigiDoc signature files";
|
|
homepage = http://www.id.ee/;
|
|
license = licenses.lgpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.jagajaga ];
|
|
};
|
|
}
|