2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
appdirs,
|
|
|
|
requests,
|
|
|
|
click,
|
|
|
|
setuptools,
|
|
|
|
pytestCheckHook,
|
|
|
|
freezegun,
|
2022-07-18 16:21:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "taxi";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "6.2.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-07-18 16:21:45 +00:00
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sephii";
|
|
|
|
repo = "taxi";
|
|
|
|
rev = version;
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-wtLlO/W+39kTPjb2U6c54bxWxAQB7CxGxBh8gur+RCQ=";
|
2022-07-18 16:21:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
appdirs
|
|
|
|
requests
|
|
|
|
click
|
|
|
|
setuptools
|
2022-11-21 17:40:18 +00:00
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-11-21 17:40:18 +00:00
|
|
|
freezegun
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "taxi" ];
|
2022-07-18 16:21:45 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/sephii/taxi/";
|
|
|
|
description = "Timesheeting made easy";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "taxi";
|
2022-07-18 16:21:45 +00:00
|
|
|
license = licenses.wtfpl;
|
|
|
|
maintainers = with maintainers; [ jocelynthode ];
|
|
|
|
};
|
|
|
|
}
|