Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / coreschema / default.nix
blob8d597e530383ee34a5839da5a1f2302e96da6bc8
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   jinja2,
6   pytest,
7 }:
9 buildPythonPackage rec {
10   pname = "coreschema";
11   version = "0.0.4";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     repo = "python-coreschema";
16     owner = "core-api";
17     rev = version;
18     sha256 = "027pc753mkgbb3r1v1x7dsdaarq93drx0f79ppvw9pfkcjcq6wb1";
19   };
21   propagatedBuildInputs = [ jinja2 ];
23   nativeCheckInputs = [ pytest ];
24   checkPhase = ''
25     cd ./tests
26     pytest
27   '';
29   meta = with lib; {
30     description = "Python client library for Core Schema";
31     homepage = "https://github.com/ivegotasthma/python-coreschema";
32     license = licenses.bsd3;
33     maintainers = with maintainers; [ ];
34   };