blob: 0b2990ac73eae3548dbf46494b216ce7fb958e45 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
appdirs,
click,
flit-core,
pytestCheckHook,
freezegun,
}:
buildPythonPackage rec {
pname = "taxi";
version = "6.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "sephii";
repo = "taxi";
rev = version;
hash = "sha256-zhBjULAPd1rGvTMdy7TJ3XoDDMGnoL6fyZFTVIHDvDI=";
};
build-system = [ flit-core ];
dependencies = [
appdirs
click
];
nativeCheckInputs = [
freezegun
pytestCheckHook
];
pythonImportsCheck = [ "taxi" ];
meta = {
homepage = "https://github.com/sephii/taxi/";
description = "Timesheeting made easy";
mainProgram = "taxi";
license = lib.licenses.wtfpl;
maintainers = with lib.maintainers; [ jocelynthode ];
};
}
|