Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / gorilla / default.nix
blob8b61584a3af4a77f3492d8fc71eb8deefd099c39
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6   pythonAtLeast,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "gorilla";
13   version = "0.4.0";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-AFq4hTsDcWKnx3u4JGBMbggYeO4DwJrQHvQXRIVgGdM=";
21   };
23   build-system = [ setuptools ];
25   nativeCheckInputs = [ pytestCheckHook ];
27   pythonImportsCheck = [ "gorilla" ];
29   disabledTests = lib.optionals (pythonAtLeast "3.12") [ "test_find_patches_2" ];
31   meta = with lib; {
32     description = "Convenient approach to monkey patching";
33     homepage = "https://github.com/christophercrouzet/gorilla";
34     changelog = "https://github.com/christophercrouzet/gorilla/releases/tag/v${version}";
35     license = licenses.mit;
36     maintainers = with maintainers; [ tbenst ];
37   };