linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / mox3 / default.nix
blob1883c9c8c011933f747f6f05001b772ea8643c87
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , python
6 , subunit
7 , testrepository
8 , testtools
9 , six
10 , pbr
11 , fixtures
12 , isPy36
15 buildPythonPackage rec {
16   pname = "mox3";
17   version = "1.1.0";
18   disabled = pythonOlder "3.6";
20   src = fetchPypi {
21     inherit pname version;
22     sha256 = "8a526b7b9b6341f541a9aef3e08c93fd84a5373fe89d4cc51dd571f085b2363c";
23   };
25   buildInputs = [ subunit testrepository testtools six ];
26   propagatedBuildInputs = [ pbr fixtures ];
28   # Disabling as several tests depdencies are missing:
29   # https://opendev.org/openstack/mox3/src/branch/master/test-requirements.txt
30   doCheck = false;
32   meta = with lib; {
33     description = "Mock object framework for Python";
34     homepage = "https://docs.openstack.org/mox3/latest/";
35     license = licenses.asl20;
36   };