My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/bitcoinrpc/default.nix

45 lines
815 B

{ lib
, fetchFromGitHub
, buildPythonPackage
, orjson
, httpx
, typing-extensions
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "bitcoinrpc";
version = "0.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bibajz";
repo = "bitcoin-python-async-rpc";
rev = "v${version}";
hash = "sha256-uxkSz99X9ior7l825PaXGIC5XJzO/Opv0vTyY1ixvxU=";
};
propagatedBuildInputs = [
orjson
httpx
typing-extensions
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"bitcoinrpc"
];
meta = with lib; {
description = "Bitcoin JSON-RPC client";
homepage = "https://github.com/bibajz/bitcoin-python-async-rpc";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}