2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pytestCheckHook,
|
|
|
|
requests,
|
2023-04-29 16:46:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "opencontainers";
|
|
|
|
version = "0.0.14";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-/eO4CZtWtclWQV34kz4iJ+GRToBaJ3uETy+eUjQXOPI=";
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i "/pytest-runner/d" setup.py
|
|
|
|
'';
|
|
|
|
|
2024-10-04 16:56:33 +00:00
|
|
|
optional-dependencies.reggie = [ requests ];
|
2023-04-29 16:46:19 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "opencontainers" ];
|
2023-04-29 16:46:19 +00:00
|
|
|
|
2024-10-04 16:56:33 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.reggie;
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module for oci specifications";
|
|
|
|
homepage = "https://github.com/vsoch/oci-python";
|
|
|
|
license = licenses.mpl20;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2023-04-29 16:46:19 +00:00
|
|
|
};
|
|
|
|
}
|