mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-04 11:50:04 +00:00
Switch from poetry-core to uv_build to match the new upstream build backend. Requires corallium >= 2.3.0, satisfied by the previous commit. Notable change: every output directory is emptied before rendering, so the first run after upgrading shows a real diff for templates using _skip_if_exists. https://github.com/KyleKing/copier-template-tester/releases/tag/3.0.0 Assisted-by: Goose + GLM 5.3 Flash
37 lines
682 B
Nix
37 lines
682 B
Nix
{
|
|
buildPythonPackage,
|
|
copier,
|
|
corallium,
|
|
fetchFromGitHub,
|
|
lib,
|
|
uv-build,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "copier-template-tester";
|
|
version = "3.0.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KyleKing";
|
|
repo = "copier-template-tester";
|
|
tag = version;
|
|
hash = "sha256-eWTrrvZGucHYJVZfhCZSJJQGSqhXLSf8Rp4ZPsGxsIw=";
|
|
};
|
|
|
|
build-system = [
|
|
uv-build
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|