mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 20:54:56 +00:00
55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication (finalAttrs: {
|
|
pname = "spec-kit";
|
|
version = "0.16.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "github";
|
|
repo = "spec-kit";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-uQafjPA4mVn6N89HS9UNQzV1QzDXkgYO3FVBzSzoCBg=";
|
|
};
|
|
|
|
pyproject = true;
|
|
|
|
build-system = with python3Packages; [
|
|
hatchling
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
click
|
|
json5
|
|
packaging
|
|
pathspec
|
|
platformdirs
|
|
pyyaml
|
|
readchar
|
|
rich
|
|
typer
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"specify_cli"
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Bootstrap your projects for Spec-Driven Development (SDD)";
|
|
homepage = "https://github.com/github/spec-kit";
|
|
changelog = "https://github.com/github/spec-kit/blob/v${finalAttrs.version}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = [
|
|
lib.maintainers.luochen1990
|
|
lib.maintainers."3mp3ri0r"
|
|
];
|
|
mainProgram = "specify";
|
|
};
|
|
})
|