fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
46 lines
796 B
Nix
46 lines
796 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
appdirs,
|
|
requests,
|
|
click,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
freezegun,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "taxi";
|
|
version = "6.2.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sephii";
|
|
repo = "taxi";
|
|
rev = version;
|
|
hash = "sha256-wtLlO/W+39kTPjb2U6c54bxWxAQB7CxGxBh8gur+RCQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
appdirs
|
|
requests
|
|
click
|
|
setuptools
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
freezegun
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "taxi" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/sephii/taxi/";
|
|
description = "Timesheeting made easy";
|
|
mainProgram = "taxi";
|
|
license = licenses.wtfpl;
|
|
maintainers = with maintainers; [ jocelynthode ];
|
|
};
|
|
}
|