Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 806 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, python 6, subunit 7, testrepository 8, testtools 9, six 10, pbr 11, fixtures 12, isPy36 13}: 14 15buildPythonPackage rec { 16 pname = "mox3"; 17 version = "1.1.0"; 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "8a526b7b9b6341f541a9aef3e08c93fd84a5373fe89d4cc51dd571f085b2363c"; 23 }; 24 25 buildInputs = [ subunit testrepository testtools six ]; 26 propagatedBuildInputs = [ pbr fixtures ]; 27 28 # Disabling as several tests depdencies are missing: 29 # https://opendev.org/openstack/mox3/src/branch/master/test-requirements.txt 30 doCheck = false; 31 32 meta = with stdenv.lib; { 33 description = "Mock object framework for Python"; 34 homepage = "https://docs.openstack.org/mox3/latest/"; 35 license = licenses.asl20; 36 }; 37 38}