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