diff --git a/pkgs/development/libraries/svrcore/default.nix b/pkgs/development/libraries/svrcore/default.nix new file mode 100644 index 000000000000..637b8b8ab7f5 --- /dev/null +++ b/pkgs/development/libraries/svrcore/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, pkgconfig, nss, nspr }: + +stdenv.mkDerivation rec { + name = "svrcore-${version}"; + version = "4.0.4"; + + src = fetchurl { + url = "ftp://ftp.mozilla.org/pub/mozilla.org/directory/svrcore/releases/${version}/src/${name}.tar.bz2"; + sha256 = "0n3alg6bxml8952fb6h0bi0l29farvq21q6k20gy2ba90m3znwj7"; + }; + + buildInputs = [ pkgconfig nss nspr ]; + + meta = with stdenv.lib; { + description = "Secure PIN handling using NSS crypto"; + license = licenses.mpl11; + platforms = platforms.all; + maintainers = with maintainers; [ wkennington ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 354a1bf5df67..29a9ee39c288 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7002,6 +7002,8 @@ let sutils = callPackage ../tools/misc/sutils { }; + svrcore = callPackage ../development/libraries/svrcore { }; + sword = callPackage ../development/libraries/sword { }; szip = callPackage ../development/libraries/szip { };