5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
43 lines
744 B
Nix
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 ];
|
|
};
|
|
}
|