nixpkgs/pkgs/development/python-modules/roadlib/default.nix
2024-07-28 20:43:52 +02:00

44 lines
744 B
Nix

{
lib,
adal,
buildPythonPackage,
fetchPypi,
pyjwt,
pythonOlder,
setuptools,
sqlalchemy,
}:
buildPythonPackage rec {
pname = "roadlib";
version = "0.26.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-qh+xVBqQ/bkXl7Xa6w+SIkQRwIUW5ut4yosGko+8xrY=";
};
build-system = [ setuptools ];
dependencies = [
adal
pyjwt
sqlalchemy
];
# Module has no test
doCheck = false;
pythonImportsCheck = [ "roadtools.roadlib" ];
meta = with lib; {
description = "ROADtools common components library";
homepage = "https://pypi.org/project/roadlib/";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}