Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / safety-schemas / default.nix
blob0f9724e95f65e21628f25673d03e141686588437
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , hatchling
5 , pythonRelaxDepsHook
6 , dparse
7 , packaging
8 , pydantic
9 , ruamel-yaml
10 , typing-extensions
13 buildPythonPackage rec {
14   pname = "safety-schemas";
15   version = "0.0.2";
16   pyproject = true;
18   src = fetchPypi {
19     pname = "safety_schemas";
20     inherit version;
21     hash = "sha256-fRsEDsBkgPBc/2tF6nqT4JyJQt+GT7DQHd62fDI8+ow=";
22   };
24   nativeBuildInputs = [
25     hatchling
26     pythonRelaxDepsHook
27   ];
29   pythonRelaxDeps = [
30     "dparse"
31   ];
33   propagatedBuildInputs = [
34     dparse
35     packaging
36     pydantic
37     ruamel-yaml
38     typing-extensions
39   ];
41   pythonImportsCheck = [ "safety_schemas" ];
43   # upstream has no tests
44   doCheck = false;
46   meta = {
47     description = "Schemas for Safety CLI";
48     homepage = "https://pypi.org/project/safety-schemas/";
49     license = lib.licenses.mit;
50     maintainers = with lib.maintainers; [ dotlambda ];
51   };