at 23.05-pre 701 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6, six 7}: 8 9buildPythonPackage rec { 10 pname = "mox"; 11 version = "0.7.8"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "ivancrneto"; 18 repo = "pymox"; 19 rev = "v${version}"; 20 hash = "sha256-gODE9IGDk3WtO8iPOlp98fGp6Ih2laA3YlOHmq62m8Y="; 21 }; 22 23 propagatedBuildInputs = [ 24 six 25 ]; 26 27 checkInputs = [ 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ 32 "mox" 33 ]; 34 35 meta = with lib; { 36 description = "Mock object framework"; 37 homepage = "https://github.com/ivancrneto/pymox"; 38 license = licenses.asl20; 39 maintainers = with maintainers; [ ]; 40 }; 41}