2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, nss, nspr }:
|
2014-12-30 18:12:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "svrcore";
|
2014-12-30 18:12:18 +00:00
|
|
|
version = "4.0.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://mozilla/directory/svrcore/releases/${version}/src/${pname}-${version}.tar.bz2";
|
2014-12-30 18:12:18 +00:00
|
|
|
sha256 = "0n3alg6bxml8952fb6h0bi0l29farvq21q6k20gy2ba90m3znwj7";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ nss nspr ];
|
2014-12-30 18:12:18 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2014-12-30 18:12:18 +00:00
|
|
|
description = "Secure PIN handling using NSS crypto";
|
|
|
|
license = licenses.mpl11;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|