depot/third_party/nixpkgs/pkgs/development/python-modules/buildcatrust/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

42 lines
825 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "buildcatrust";
version = "0.1.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256:0s0m0fy943dakw9cbd40h46qmrhhgrcp292kppyb34m6y27sbagy";
};
nativeBuildInputs = [
flit-core
];
nativeCheckInputs = [
pytestCheckHook
];
disabledTestPaths = [
# Non-hermetic, needs internet access (e.g. attempts to retrieve NSS store).
"buildcatrust/tests/test_nonhermetic.py"
];
pythonImportsCheck = [
"buildcatrust"
"buildcatrust.cli"
];
meta = with lib; {
description = "Build SSL/TLS trust stores";
homepage = "https://github.com/lukegb/buildcatrust";
license = licenses.mit;
maintainers = with maintainers; [ lukegb ];
};
}