depot/third_party/nixpkgs/pkgs/development/python-modules/roadlib/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

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 ];
};
}