nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 821 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pythonAtLeast, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "gorilla"; 12 version = "0.4.0"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-AFq4hTsDcWKnx3u4JGBMbggYeO4DwJrQHvQXRIVgGdM="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 nativeCheckInputs = [ pytestCheckHook ]; 23 24 pythonImportsCheck = [ "gorilla" ]; 25 26 disabledTests = lib.optionals (pythonAtLeast "3.12") [ "test_find_patches_2" ]; 27 28 meta = { 29 description = "Convenient approach to monkey patching"; 30 homepage = "https://github.com/christophercrouzet/gorilla"; 31 changelog = "https://github.com/christophercrouzet/gorilla/releases/tag/v${version}"; 32 license = lib.licenses.mit; 33 maintainers = with lib.maintainers; [ tbenst ]; 34 }; 35}