1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatchling,
6 gradio,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "groovy";
12 version = "0.1.2";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-JcHcCbP51+KSRYqnYsa+uW6gNwcb9ekX/IH7eNIjEIM=";
18 };
19
20 build-system = [
21 hatchling
22 ];
23
24 pythonImportsCheck = [ "groovy" ];
25
26 nativeCheckInputs = [
27 gradio
28 pytestCheckHook
29 ];
30
31 # Attempts to load a cert file
32 # FileNotFoundError: [Errno 2] No such file or directory
33 doCheck = false;
34
35 meta = {
36 description = "Small Python library created to help developers protect their applications from Server Side Request Forgery (SSRF) attacks";
37 homepage = "https://pypi.org/project/groovy";
38 license = lib.licenses.asl20;
39 maintainers = with lib.maintainers; [ GaetanLepage ];
40 };
41}