Files
nixpkgs/pkgs/development/python-modules/monero/default.nix
T
2025-02-24 10:47:15 +01:00

55 lines
992 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pycryptodomex,
pysocks,
pynacl,
requests,
six,
varint,
pytestCheckHook,
pytest-cov-stub,
responses,
}:
buildPythonPackage rec {
pname = "monero";
version = "1.1.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "monero-ecosystem";
repo = "monero-python";
rev = "v${version}";
hash = "sha256-WIF3pFBOLgozYTrQHLzIRgSlT3dTZTe+7sF/dVjVdTo=";
};
pythonRelaxDeps = [ "pynacl" ];
pythonRemoveDeps = [ "ipaddress" ];
pythonImportsCheck = [ "monero" ];
propagatedBuildInputs = [
pycryptodomex
pynacl
pysocks
requests
six
varint
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
responses
];
meta = with lib; {
description = "Comprehensive Python module for handling Monero";
homepage = "https://github.com/monero-ecosystem/monero-python";
license = licenses.bsd3;
maintainers = with maintainers; [ prusnak ];
};
}