depot/third_party/nixpkgs/pkgs/development/python-modules/taxi/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

44 lines
759 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";
license = licenses.wtfpl;
maintainers = with maintainers; [ jocelynthode ];
};
}