summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/keep/default.nix
blob: 249551dc720146cdf1178276cc66710e792de0d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  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";
  };
}