python3Packages.electrum-aionostr: init at 0.0.11

This commit is contained in:
Pavol Rusnak 2025-07-18 12:13:35 +02:00
parent 60b8613e21
commit 6d47c0b060
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
aiohttp,
aiohttp-socks,
aiorpcx,
cryptography,
electrum-ecc,
click,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "electrum-aionostr";
version = "0.0.11";
pyproject = true;
build-system = [ setuptools ];
src = fetchPypi {
pname = "electrum_aionostr";
inherit version;
hash = "sha256-DusdAeVdS6ssEWJolloLLBFJBlnpaf2GTEUxBFWLz4E=";
};
dependencies = [
aiohttp
aiohttp-socks
aiorpcx
cryptography
electrum-ecc
];
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [ click ];
pythonImportsCheck = [ "electrum_aionostr" ];
disabledTests = [
# command line interface is broken
"test_command_line_interface"
];
meta = with lib; {
description = "Asyncio nostr client";
homepage = "https://github.com/spesmilo/electrum-aionostr";
license = licenses.bsd3;
maintainers = [ ];
};
}

View File

@ -4549,6 +4549,8 @@ self: super: with self; {
elasticsearchdsl = self.elasticsearch-dsl;
electrum-aionostr = callPackage ../development/python-modules/electrum-aionostr { };
electrum-ecc = callPackage ../development/python-modules/electrum-ecc { };
elegy = callPackage ../development/python-modules/elegy { };