Merge pull request #181889 from jocelynthode/fix-taxi
This commit is contained in:
commit
703b44d50d
1 changed files with 16 additions and 10 deletions
|
@ -1,32 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, appdirs
|
||||
, requests
|
||||
, click
|
||||
, setuptools
|
||||
, backends ? [ ]
|
||||
, pytestCheckHook
|
||||
, freezegun
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "taxi";
|
||||
version = "6.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "taxi";
|
||||
sha256 = "b2562ed58bd6eae7896f4f8e48dbee9845cd2d452b26dd15c26f839b4864cb02";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sephii";
|
||||
repo = "taxi";
|
||||
rev = version;
|
||||
sha256 = "sha256-iIy3odDX3QzVG80AFp81m8AYKES4JjlDp49GGpuIHLI=";
|
||||
};
|
||||
|
||||
# No tests in pypy package
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
requests
|
||||
click
|
||||
setuptools
|
||||
] ++ backends;
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
freezegun
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "taxi" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/sephii/taxi/";
|
||||
|
|
Loading…
Reference in a new issue