Files
nixpkgs/pkgs/development/python-modules/copier-template-tester/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

39 lines
732 B
Nix

{
buildPythonPackage,
copier,
corallium,
fetchFromGitHub,
lib,
poetry-core,
poetry-dynamic-versioning,
}:
buildPythonPackage rec {
pname = "copier-template-tester";
version = "2.2.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "KyleKing";
repo = pname;
tag = version;
hash = "sha256-n/39Gl4q24QKfVFaeeqqu0AQt2jRSRrcnEOFRHQ+SQE=";
};
build-system = [
poetry-core
poetry-dynamic-versioning
];
dependencies = [
copier
corallium
];
meta = {
description = "CLI and pre-commit tool for testing copier";
homepage = "https://copier-template-tester.kyleking.me";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ yajo ];
};
}