blob: 8a88ff234af7dfe6760d54bc46d499a99ea9cbd6 (
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
45
46
47
48
49
50
51
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
ipython,
keyring,
ptpython,
pytestCheckHook,
setuptools,
setuptools-generate,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "repl-python-wakatime";
version = "0.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "wakatime";
repo = "repl-python-wakatime";
tag = version;
hash = "sha256-1uzW3Q1PE4Gdpo354JewzkR8UREPrAFMXiwOKEMbW3M=";
};
build-system = [
setuptools
setuptools-scm
setuptools-generate
];
dependencies = [
ptpython
ipython
];
nativeCheckInputs = [
keyring
pytestCheckHook
];
pythonImportsCheck = [ "repl_python_wakatime" ];
meta = {
description = "Python REPL plugin for automatic time tracking and metrics generated from your programming activity";
homepage = "https://github.com/wakatime/repl-python-wakatime";
changelog = "https://github.com/wakatime/repl-python-wakatime/releases/tag/${version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ jfvillablanca ];
};
}
|