mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
45 lines
858 B
Nix
45 lines
858 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
click,
|
|
fetchPypi,
|
|
flit-core,
|
|
pygithub,
|
|
requests,
|
|
terminaltables3,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "keep";
|
|
version = "2.11";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Brwvu/Zevr8sOE3KAwakDDzVMc2VoFxIb1orXAes2U0=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
dependencies = [
|
|
click
|
|
pygithub
|
|
requests
|
|
terminaltables3
|
|
];
|
|
|
|
# Module no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "keep" ];
|
|
|
|
meta = {
|
|
description = "Meta CLI toolkit to keep personal shell command keeper and manage snippets";
|
|
homepage = "https://github.com/OrkoHunter/keep";
|
|
changelog = "https://github.com/OrkoHunter/keep/releases/tag/${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ ris ];
|
|
mainProgram = "keep";
|
|
};
|
|
}
|