2018-10-26 01:40:31 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python
|
|
|
|
, subunit
|
|
|
|
, testrepository
|
|
|
|
, testtools
|
|
|
|
, six
|
|
|
|
, pbr
|
|
|
|
, fixtures
|
|
|
|
, isPy36
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mox3";
|
2018-11-04 10:35:06 +00:00
|
|
|
version = "0.26.0";
|
2018-10-26 01:40:31 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:06 +00:00
|
|
|
sha256 = "b13c0b8459d6fb0688f9a4e70feeec43fa2cca05b727fc01156789596e083bb1";
|
2018-10-26 01:40:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ subunit testrepository testtools six ];
|
|
|
|
propagatedBuildInputs = [ pbr fixtures ];
|
|
|
|
|
2019-08-19 15:37:36 +01:00
|
|
|
# Disabling as several tests depdencies are missing:
|
|
|
|
# https://opendev.org/openstack/mox3/src/branch/master/test-requirements.txt
|
|
|
|
doCheck = false;
|
2018-10-26 01:40:31 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Mock object framework for Python";
|
|
|
|
homepage = https://docs.openstack.org/mox3/latest/;
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|