nixpkgs/pkgs/development/python-modules/ritassist/default.nix
2021-11-21 14:56:21 +01:00

43 lines
746 B
Nix

{ lib
, buildPythonPackage
, ciso8601
, fetchPypi
, geopy
, pythonOlder
, requests
, sseclient
}:
buildPythonPackage rec {
pname = "ritassist";
version = "0.9.3";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "1JCKWb+3mdQYnL250Ml+kFkx6VAlBC7FL6XcQlQ+kC4=";
};
propagatedBuildInputs = [
ciso8601
geopy
requests
sseclient
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"ritassist"
];
meta = with lib; {
description = "Python client to access RitAssist and FleetGO API";
homepage = "https://github.com/depl0y/ritassist-py";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}