Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / asdf-standard / default.nix
blob63586454746bc7b619be4ce9bdec0a6be2fc12ef
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , importlib-resources
5 , pythonOlder
6 , setuptools-scm
7 }:
9 buildPythonPackage rec {
10   pname = "asdf-standard";
11   version = "1.1.1";
12   format = "pyproject";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     pname = "asdf_standard";
18     inherit version;
19     hash = "sha256-AVNbwrFb/AnsimLUmZ+c8y3EnccWYMhCVkAij9h3YQI=";
20   };
22   nativeBuildInputs = [
23     setuptools-scm
24   ];
26   propagatedBuildInputs = lib.optionals (pythonOlder "3.9") [
27     importlib-resources
28   ];
30   # Circular dependency on asdf
31   doCheck = false;
33   pythonImportsCheck = [
34     "asdf_standard"
35   ];
37   meta = with lib; {
38     description = "Standards document describing ASDF";
39     homepage = "https://github.com/asdf-format/asdf-standard";
40     license = licenses.bsd3;
41     maintainers = with maintainers; [ fab ];
42   };