summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/groovy/default.nix
blob: 6a616a754e6e35a066dd20ea207406d6af41f8a7 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  lib,
  buildPythonPackage,
  fetchPypi,
  hatchling,
  gradio,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "groovy";
  version = "0.1.2";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-JcHcCbP51+KSRYqnYsa+uW6gNwcb9ekX/IH7eNIjEIM=";
  };

  build-system = [
    hatchling
  ];

  pythonImportsCheck = [ "groovy" ];

  nativeCheckInputs = [
    gradio
    pytestCheckHook
  ];

  # Attempts to load a cert file
  # FileNotFoundError: [Errno 2] No such file or directory
  doCheck = false;

  meta = {
    description = "Small Python library created to help developers protect their applications from Server Side Request Forgery (SSRF) attacks";
    homepage = "https://pypi.org/project/groovy";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
}