depot/third_party/nixpkgs/pkgs/development/python-modules/roadlib/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

43 lines
744 B
Nix

{
lib,
adal,
buildPythonPackage,
fetchPypi,
pyjwt,
pythonOlder,
setuptools,
sqlalchemy,
}:
buildPythonPackage rec {
pname = "roadlib";
version = "0.24.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-+5vR2iTFu50PJIsj4sW6McH1sg3yyEIwk15W8Jk0GKA=";
};
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 ];
};
}