ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / bitcoinrpc / default.nix
blob200f3edf038a4e49958a87646729606bbb7b57eb
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , orjson
5 , httpx
6 , typing-extensions
7 , pytestCheckHook
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "bitcoinrpc";
13   version = "0.5.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "bibajz";
20     repo = "bitcoin-python-async-rpc";
21     rev = "v${version}";
22     hash = "sha256-uxkSz99X9ior7l825PaXGIC5XJzO/Opv0vTyY1ixvxU=";
23   };
25   propagatedBuildInputs = [
26     orjson
27     httpx
28     typing-extensions
29   ];
31   checkInputs = [
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [
36     "bitcoinrpc"
37   ];
39   meta = with lib; {
40     description = "Bitcoin JSON-RPC client";
41     homepage = "https://github.com/bibajz/bitcoin-python-async-rpc";
42     license = licenses.mit;
43     maintainers = with maintainers; [ fab ];
44   };