fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
48 lines
806 B
Nix
48 lines
806 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pycryptodomex,
|
|
pyotp,
|
|
pythonOlder,
|
|
requests,
|
|
roadlib,
|
|
selenium,
|
|
selenium-wire,
|
|
setuptools,
|
|
signxml,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "roadtx";
|
|
version = "1.8.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-BJYBQBxgYbozY0rPgxpiduUxb6wEFBJxXY8TRVlLz5M=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
pycryptodomex
|
|
pyotp
|
|
requests
|
|
roadlib
|
|
selenium
|
|
selenium-wire
|
|
signxml
|
|
];
|
|
|
|
pythonImportsCheck = [ "roadtools.roadtx" ];
|
|
|
|
meta = with lib; {
|
|
description = "ROADtools Token eXchange";
|
|
homepage = "https://pypi.org/project/roadtx/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|