blob: 2158cac9fa3b23f5991d6ee2a97a90ae5c15ff86 (
plain) (
blame)
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
, asgineer
, itemdb
, jinja2
, markdown
, pscript
, pyjwt
, uvicorn
, pytestCheckHook
, requests
}:
buildPythonPackage rec {
pname = "timetagger";
version = "22.4.2";
src = fetchFromGitHub {
owner = "almarklein";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-CWY+5O4Y1dvKQNy1Cclqj4+U6q5vVVj9hZq41MYqXKs=";
};
propagatedBuildInputs = [
asgineer
itemdb
jinja2
markdown
pscript
pyjwt
uvicorn
];
preCheck = ''
export HOME=$(mktemp -d)
'';
checkInputs = [
pytestCheckHook
requests
];
meta = with lib; {
homepage = "https://timetagger.app";
license = licenses.gpl3Only;
description = "Tag your time, get the insight";
maintainers = with maintainers; [ matthiasbeyer ];
};
}
|