mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
python3Packages.bitcoinrpc: init at 0.5.0
This commit is contained in:
parent
5bc97cf9b3
commit
465d38d53a
45
pkgs/development/python-modules/bitcoinrpc/default.nix
Normal file
45
pkgs/development/python-modules/bitcoinrpc/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -1200,6 +1200,8 @@ in {
|
||||
|
||||
bitcoin-price-api = callPackage ../development/python-modules/bitcoin-price-api { };
|
||||
|
||||
bitcoinrpc = callPackage ../development/python-modules/bitcoinrpc { };
|
||||
|
||||
bitlist = callPackage ../development/python-modules/bitlist { };
|
||||
|
||||
bitmath = callPackage ../development/python-modules/bitmath { };
|
||||
|
Loading…
Reference in New Issue
Block a user