mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
37 lines
776 B
Nix
37 lines
776 B
Nix
{
|
|
jrl-cmakemodules,
|
|
gitMinimal,
|
|
python3Packages,
|
|
}:
|
|
python3Packages.buildPythonApplication (finalAttrs: {
|
|
inherit (jrl-cmakemodules) version src;
|
|
|
|
pname = "jrl-cmakemodules-scripts";
|
|
pyproject = true;
|
|
|
|
sourceRoot = "${finalAttrs.src.name}/v2/scripts";
|
|
|
|
build-system = [ python3Packages.setuptools ];
|
|
|
|
dependencies = [
|
|
python3Packages.cmake-parser
|
|
python3Packages.packaging
|
|
python3Packages.rich
|
|
python3Packages.ruamel-yaml
|
|
python3Packages.tomlkit
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
gitMinimal
|
|
python3Packages.pytest-mock
|
|
python3Packages.pytestCheckHook
|
|
];
|
|
|
|
__structuredAttrs = true;
|
|
|
|
meta = jrl-cmakemodules.meta // {
|
|
description = "Release scripting tools for JRL CMake modules";
|
|
mainProgram = "jrl-release";
|
|
};
|
|
})
|