2022-07-18 16:21:45 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2022-11-21 17:40:18 +00:00
|
|
|
, fetchFromGitHub
|
2022-07-18 16:21:45 +00:00
|
|
|
, appdirs
|
|
|
|
, requests
|
|
|
|
, click
|
|
|
|
, setuptools
|
2022-11-21 17:40:18 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, freezegun
|
2022-07-18 16:21:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "taxi";
|
|
|
|
version = "6.1.1";
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sephii";
|
|
|
|
repo = "taxi";
|
|
|
|
rev = version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-iIy3odDX3QzVG80AFp81m8AYKES4JjlDp49GGpuIHLI=";
|
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";
|
|
|
|
license = licenses.wtfpl;
|
|
|
|
maintainers = with maintainers; [ jocelynthode ];
|
|
|
|
};
|
|
|
|
}
|