nixpkgs/pkgs/development/libraries/libdigidoc/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
675 B
Nix

{ stdenv, fetchurl, cmake, openssl, pcsclite, opensc, libxml2 }:
stdenv.mkDerivation rec {
version = "3.10.4";
pname = "libdigidoc";
src = fetchurl {
url = "https://github.com/open-eid/libdigidoc/releases/download/v${version}/libdigidoc-${version}.tar.gz";
sha256 = "0w5wsaj2a5wss1r9j39bfsrkp3xz0w3v1gnr190v6k7l74l453w1";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ openssl pcsclite opensc libxml2 ];
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 ];
};
}