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;
|
|
|
|
sha256 = "sha256-iIy3odDX3QzVG80AFp81m8AYKES4JjlDp49GGpuIHLI=";
|
2022-07-18 16:21:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
appdirs
|
|
|
|
requests
|
|
|
|
click
|
|
|
|
setuptools
|
2022-11-21 17:40:18 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|