mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
44 lines
744 B
Nix
44 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 ];
|
|
};
|
|
}
|