159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
43 lines
744 B
Nix
43 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 ];
|
|
};
|
|
}
|