587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
51 lines
818 B
Nix
51 lines
818 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pycryptodomex
|
|
, pyotp
|
|
, pythonOlder
|
|
, requests
|
|
, roadlib
|
|
, selenium
|
|
, selenium-wire
|
|
, setuptools
|
|
, signxml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "roadtx";
|
|
version = "1.7.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-qnumJbuBH+ajzfG+bLTrYPvB5uNnL8dJsTZoT2vo6g0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
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 ];
|
|
};
|
|
}
|