mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-13 23:53:26 +00:00
![Guillaume Girol](/assets/img/avatar_default.png)
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
33 lines
740 B
Nix
33 lines
740 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "buildcatrust";
|
|
version = "0.1.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256:0s0m0fy943dakw9cbd40h46qmrhhgrcp292kppyb34m6y27sbagy";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|