mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-08 01:53:13 -05:00
50 lines
922 B
Nix
50 lines
922 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
setuptools,
|
|
|
|
# dependencies
|
|
click,
|
|
prompt-toolkit,
|
|
typing-extensions,
|
|
|
|
# tests
|
|
pytest-cov-stub,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "click-repl";
|
|
version = "0.3.0-unstable-2026-03-26";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "click-contrib";
|
|
repo = "click-repl";
|
|
rev = "b84191aec21b407b3cb3374ff1ab000887d38f29";
|
|
hash = "sha256-5Xv6oeV6sIRE3K3sZq8DyAXOcY8fYobcJtW/ZN7C4U0=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
click
|
|
prompt-toolkit
|
|
typing-extensions
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-cov-stub
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/click-contrib/click-repl";
|
|
description = "Subcommand REPL for click apps";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ twey ];
|
|
};
|
|
})
|