Files
nixpkgs/pkgs/development/python-modules/asdf-transform-schemas/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

41 lines
983 B
Nix

{
lib,
asdf-standard,
buildPythonPackage,
fetchPypi,
importlib-resources,
pythonOlder,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "asdf-transform-schemas";
version = "0.6.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "asdf_transform_schemas";
inherit version;
hash = "sha256-D1D44Jb//S0UucgplZASZu8lsj0N/8MK1Bu6RoUalzI=";
};
build-system = [ setuptools-scm ];
dependencies = [ asdf-standard ] ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];
# Circular dependency on asdf
doCheck = false;
pythonImportsCheck = [ "asdf_transform_schemas" ];
meta = {
description = "ASDF schemas for validating transform tags";
homepage = "https://github.com/asdf-format/asdf-transform-schemas";
changelog = "https://github.com/asdf-format/asdf-transform-schemas/releases/tag/${version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}