5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
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.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-hhxmwD1+mZtU/VmB8yXeQESh0AGtjhdpDXRG3+mYfEk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|