1{
2 lib,
3 buildPythonPackage,
4 distro,
5 fetchPypi,
6 packaging,
7 parsley,
8 pbr,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "bindep";
14 version = "2.11.0";
15 pyproject = true;
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-rLLyWbzh/RUIhzR5YJu95bmq5Qg3hHamjWtqGQAufi8=";
20 };
21
22 env.PBR_VERSION = version;
23
24 build-system = [
25 distro
26 pbr
27 setuptools
28 ];
29
30 dependencies = [
31 parsley
32 pbr
33 packaging
34 distro
35 ];
36
37 # Checks moved to 'passthru.tests' to workaround infinite recursion
38 doCheck = false;
39
40 pythonImportsCheck = [ "bindep" ];
41
42 meta = with lib; {
43 description = "Bindep is a tool for checking the presence of binary packages needed to use an application / library";
44 homepage = "https://docs.opendev.org/opendev/bindep/latest/";
45 license = licenses.asl20;
46 mainProgram = "bindep";
47 maintainers = teams.openstack.members;
48 };
49}