Merge pull request #296280 from baloo/baloo/x509-limbo/init
x509-limbo: init at unstable-2024-03-13
This commit is contained in:
commit
90d4146a88
1 changed files with 48 additions and 0 deletions
48
pkgs/by-name/x5/x509-limbo/package.nix
Normal file
48
pkgs/by-name/x5/x509-limbo/package.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
, x509-limbo
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonPackage {
|
||||
pname = "x509-limbo";
|
||||
version = "unstable-2024-03-13";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "C2SP";
|
||||
repo = "x509-limbo";
|
||||
rev = "a04fb05cf132e1405f71c12616cf0aead829909a";
|
||||
hash = "sha256-TA4ciHkXg/RKzcIs2bwpx7CxsQDyQMG636Rr74xPsBA=";
|
||||
};
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
flit-core
|
||||
|
||||
requests
|
||||
pydantic
|
||||
jinja2
|
||||
cryptography
|
||||
pyopenssl
|
||||
pyyaml
|
||||
certvalidator
|
||||
certifi
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share
|
||||
cp limbo.json $out/share/
|
||||
|
||||
wrapProgram $out/bin/limbo \
|
||||
--append-flags "--limbo $out/share/limbo.json"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://x509-limbo.com/";
|
||||
description = "A suite of testvectors for X.509 certificate path validation and tools for building them ";
|
||||
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ baloo ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue