bindep: init at 2.11.0

This commit is contained in:
Samuel Hierholzer (Adfinis AG) 2024-04-02 14:19:46 +02:00
parent 4b455dc204
commit e26617d268
No known key found for this signature in database
GPG Key ID: A71725F119DAD5E2
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, python3Packages
, fetchPypi
}:
python3Packages.buildPythonPackage rec {
pname = "bindep";
version = "2.11.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-rLLyWbzh/RUIhzR5YJu95bmq5Qg3hHamjWtqGQAufi8=";
};
buildInputs = with python3Packages; [
distro
pbr
setuptools
];
propagatedBuildInputs = with python3Packages; [
parsley
pbr
packaging
distro
];
patchPhase = ''
# Setting the pbr version will skip any version checking logic
# This is required because pbr thinks it gets it's own version from git tags
# See https://docs.openstack.org/pbr/latest/user/packagers.html
export PBR_VERSION=5.11.1
'';
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;
maintainers = with maintainers; [ melkor333 ];
};
}

View File

@ -1507,6 +1507,8 @@ self: super: with self; {
bincopy = callPackage ../development/python-modules/bincopy { };
bindep = callPackage ../development/python-modules/bindep { };
binho-host-adapter = callPackage ../development/python-modules/binho-host-adapter { };
binwalk = callPackage ../development/python-modules/binwalk { };