blob: f24c2340168fc81427c2e73469c7185ede6ac605 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
orjson,
httpx,
typing-extensions,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "bitcoinrpc";
version = "0.5.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "bibajz";
repo = "bitcoin-python-async-rpc";
rev = "v${version}";
hash = "sha256-uxkSz99X9ior7l825PaXGIC5XJzO/Opv0vTyY1ixvxU=";
};
propagatedBuildInputs = [
orjson
httpx
typing-extensions
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bitcoinrpc" ];
meta = {
description = "Bitcoin JSON-RPC client";
homepage = "https://github.com/bibajz/bitcoin-python-async-rpc";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|