mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
0215034f25
when they already rely on SRI hashes.
39 lines
756 B
Nix
39 lines
756 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wazeroutecalculator";
|
|
version = "0.15";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "WazeRouteCalculator";
|
|
inherit version;
|
|
hash = "sha256-DB5oWthWNwamFG3kNxA/kmUBOVogoSg5LI2KrI39s4M=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
];
|
|
|
|
# there are no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"WazeRouteCalculator"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Calculate actual route time and distance with Waze API";
|
|
homepage = "https://github.com/kovacsbalu/WazeRouteCalculator";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
};
|
|
}
|