depot/third_party/nixpkgs/pkgs/development/python-modules/taxi/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

43 lines
736 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, appdirs
, requests
, click
, setuptools
, pytestCheckHook
, freezegun
}:
buildPythonPackage rec {
pname = "taxi";
version = "6.1.1";
src = fetchFromGitHub {
owner = "sephii";
repo = "taxi";
rev = version;
sha256 = "sha256-iIy3odDX3QzVG80AFp81m8AYKES4JjlDp49GGpuIHLI=";
};
propagatedBuildInputs = [
appdirs
requests
click
setuptools
];
nativeCheckInputs = [
freezegun
pytestCheckHook
];
pythonImportsCheck = [ "taxi" ];
meta = with lib; {
homepage = "https://github.com/sephii/taxi/";
description = "Timesheeting made easy";
license = licenses.wtfpl;
maintainers = with maintainers; [ jocelynthode ];
};
}