depot/third_party/nixpkgs/pkgs/development/python-modules/mox3/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

36 lines
749 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, python
, subunit
, testrepository
, testtools
, six
, pbr
, fixtures
, isPy36
}:
buildPythonPackage rec {
pname = "mox3";
version = "0.28.0";
src = fetchPypi {
inherit pname version;
sha256 = "17d4vglb71s96hhi6d30vnkr7g1pahv95igc4sjv857qf278d540";
};
buildInputs = [ subunit testrepository testtools six ];
propagatedBuildInputs = [ pbr fixtures ];
# Disabling as several tests depdencies are missing:
# https://opendev.org/openstack/mox3/src/branch/master/test-requirements.txt
doCheck = false;
meta = with stdenv.lib; {
description = "Mock object framework for Python";
homepage = "https://docs.openstack.org/mox3/latest/";
license = licenses.asl20;
};
}