2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pygithub,
|
|
|
|
terminaltables,
|
|
|
|
click,
|
|
|
|
requests,
|
2020-09-25 04:45:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "keep";
|
2021-02-22 21:28:39 +00:00
|
|
|
version = "2.10.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-22 21:28:39 +00:00
|
|
|
sha256 = "3abbe445347711cecd9cbb80dab4a0777418972fc14a14e9387d0d2ae4b6adb7";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
click
|
|
|
|
requests
|
|
|
|
terminaltables
|
2023-03-15 16:39:30 +00:00
|
|
|
pygithub
|
2020-09-25 04:45:31 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# no tests
|
2021-01-15 22:18:51 +00:00
|
|
|
doCheck = false;
|
2020-09-25 04:45:31 +00:00
|
|
|
pythonImportsCheck = [ "keep" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 04:45:31 +00:00
|
|
|
homepage = "https://github.com/orkohunter/keep";
|
|
|
|
description = "A Meta CLI toolkit: Personal shell command keeper and snippets manager";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "keep";
|
2020-09-25 04:45:31 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ris ];
|
|
|
|
};
|
|
|
|
}
|