depot/third_party/nixpkgs/pkgs/development/python-modules/taxi/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

43 lines
730 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
];
checkInputs = [
freezegun
pytestCheckHook
];
pythonImportsCheck = [ "taxi" ];
meta = with lib; {
homepage = "https://github.com/sephii/taxi/";
description = "Timesheeting made easy";
license = licenses.wtfpl;
maintainers = with maintainers; [ jocelynthode ];
};
}