mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-21 23:40:42 +08:00
50 lines
954 B
Nix
50 lines
954 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
click,
|
|
colorama,
|
|
deprecation-alias,
|
|
domdf-python-tools,
|
|
fetchPypi,
|
|
flit-core,
|
|
mistletoe,
|
|
psutil,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "consolekit";
|
|
version = "1.11.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-PZGrN5GJVtDruZkW3bJJpOfTi1nT3lN6XoBaaMLJE8E=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
dependencies = [
|
|
click
|
|
colorama
|
|
deprecation-alias
|
|
domdf-python-tools
|
|
mistletoe
|
|
typing-extensions
|
|
];
|
|
|
|
optional-dependencies = {
|
|
terminals = [ psutil ];
|
|
};
|
|
|
|
pythonImportsCheck = [ "consolekit" ];
|
|
|
|
meta = {
|
|
description = "Additional utilities for click";
|
|
homepage = "https://github.com/domdfcoding/consolekit";
|
|
changelog = "https://github.com/domdfcoding/consolekit/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ tyberius-prime ];
|
|
};
|
|
}
|