depot/third_party/nixpkgs/pkgs/development/python-modules/asdf-standard/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

38 lines
824 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
importlib-resources,
pythonOlder,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "asdf-standard";
version = "1.1.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "asdf_standard";
inherit version;
hash = "sha256-AVNbwrFb/AnsimLUmZ+c8y3EnccWYMhCVkAij9h3YQI=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = lib.optionals (pythonOlder "3.9") [ importlib-resources ];
# Circular dependency on asdf
doCheck = false;
pythonImportsCheck = [ "asdf_standard" ];
meta = with lib; {
description = "Standards document describing ASDF";
homepage = "https://github.com/asdf-format/asdf-standard";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}