1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, python
5, subunit
6, testrepository
7, testtools
8, six
9, pbr
10, fixtures
11, isPy36
12}:
13
14buildPythonPackage rec {
15 pname = "mox3";
16 version = "0.28.0";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "17d4vglb71s96hhi6d30vnkr7g1pahv95igc4sjv857qf278d540";
21 };
22
23 buildInputs = [ subunit testrepository testtools six ];
24 propagatedBuildInputs = [ pbr fixtures ];
25
26 # Disabling as several tests depdencies are missing:
27 # https://opendev.org/openstack/mox3/src/branch/master/test-requirements.txt
28 doCheck = false;
29
30 meta = with stdenv.lib; {
31 description = "Mock object framework for Python";
32 homepage = https://docs.openstack.org/mox3/latest/;
33 license = licenses.asl20;
34 };
35
36}