2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
2024-09-19 14:19:46 +00:00
|
|
|
buildPythonPackage,
|
|
|
|
distro,
|
2024-06-05 15:53:02 +00:00
|
|
|
fetchPypi,
|
2024-09-19 14:19:46 +00:00
|
|
|
packaging,
|
|
|
|
parsley,
|
|
|
|
pbr,
|
|
|
|
setuptools,
|
2024-04-21 15:54:59 +00:00
|
|
|
}:
|
2024-09-19 14:19:46 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "bindep";
|
|
|
|
version = "2.11.0";
|
2024-09-19 14:19:46 +00:00
|
|
|
pyproject = true;
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-rLLyWbzh/RUIhzR5YJu95bmq5Qg3hHamjWtqGQAufi8=";
|
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
env.PBR_VERSION = version;
|
|
|
|
|
|
|
|
build-system = [
|
2024-04-21 15:54:59 +00:00
|
|
|
distro
|
|
|
|
pbr
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
dependencies = [
|
2024-04-21 15:54:59 +00:00
|
|
|
parsley
|
|
|
|
pbr
|
|
|
|
packaging
|
|
|
|
distro
|
|
|
|
];
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
# Checks moved to 'passthru.tests' to workaround infinite recursion
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "bindep" ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Bindep is a tool for checking the presence of binary packages needed to use an application / library";
|
|
|
|
homepage = "https://docs.opendev.org/opendev/bindep/latest/";
|
|
|
|
license = licenses.asl20;
|
2024-09-19 14:19:46 +00:00
|
|
|
mainProgram = "bindep";
|
|
|
|
maintainers = teams.openstack.members;
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
}
|