depot/third_party/nixpkgs/pkgs/development/python-modules/roadlib/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

46 lines
760 B
Nix

{ lib
, adal
, buildPythonPackage
, fetchPypi
, pyjwt
, pythonOlder
, setuptools
, sqlalchemy
}:
buildPythonPackage rec {
pname = "roadlib";
version = "0.23.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-0hDiuF0dBRyR2B9dp4c7/jsC6li8uOduQBbhs6fFLfU=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
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 ];
};
}