nixpkgs/pkgs/development/python-modules/mox3/default.nix

39 lines
798 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, python
, subunit
, testrepository
, testtools
, six
, pbr
, fixtures
, isPy36
}:
buildPythonPackage rec {
pname = "mox3";
2020-06-06 06:47:18 +00:00
version = "1.1.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
2020-06-06 06:47:18 +00:00
sha256 = "8a526b7b9b6341f541a9aef3e08c93fd84a5373fe89d4cc51dd571f085b2363c";
};
buildInputs = [ subunit testrepository testtools six ];
propagatedBuildInputs = [ pbr fixtures ];
2021-05-20 18:10:44 +00:00
# Disabling as several tests dependencies are missing:
2019-08-19 14:37:36 +00:00
# https://opendev.org/openstack/mox3/src/branch/master/test-requirements.txt
doCheck = false;
meta = with lib; {
description = "Mock object framework for Python";
homepage = "https://docs.openstack.org/mox3/latest/";
license = licenses.asl20;
};
}