From 7233ce069735eb0236e61d3aaf5add448e425560 Mon Sep 17 00:00:00 2001 From: cooparo Date: Sat, 23 Nov 2024 17:38:35 +0100 Subject: [PATCH] python312Packages.python-bitcoinlib: rename from bitcoinlib --- pkgs/by-name/ze/zeronet-conservancy/package.nix | 2 +- pkgs/by-name/ze/zeronet/package.nix | 2 +- pkgs/development/python-modules/opentimestamps/default.nix | 4 ++-- .../{bitcoinlib => python-bitcoinlib}/default.nix | 2 +- pkgs/servers/monitoring/prometheus/bitcoin-exporter.nix | 2 +- pkgs/top-level/python-packages.nix | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename pkgs/development/python-modules/{bitcoinlib => python-bitcoinlib}/default.nix (97%) diff --git a/pkgs/by-name/ze/zeronet-conservancy/package.nix b/pkgs/by-name/ze/zeronet-conservancy/package.nix index 284578460a040..0477684142c14 100644 --- a/pkgs/by-name/ze/zeronet-conservancy/package.nix +++ b/pkgs/by-name/ze/zeronet-conservancy/package.nix @@ -18,7 +18,7 @@ python3Packages.buildPythonApplication rec { propagatedBuildInputs = with python3Packages; [ gevent msgpack base58 merkletools rsa pysocks pyasn1 websocket-client - gevent-websocket rencode bitcoinlib maxminddb pyopenssl rich defusedxml + gevent-websocket rencode python-bitcoinlib maxminddb pyopenssl rich defusedxml pyaes coincurve ]; diff --git a/pkgs/by-name/ze/zeronet/package.nix b/pkgs/by-name/ze/zeronet/package.nix index d0a358a5ba15b..d3ffcf81a889a 100644 --- a/pkgs/by-name/ze/zeronet/package.nix +++ b/pkgs/by-name/ze/zeronet/package.nix @@ -14,7 +14,7 @@ python3Packages.buildPythonApplication rec { propagatedBuildInputs = with python3Packages; [ gevent msgpack base58 merkletools rsa pysocks pyasn1 websocket-client - gevent-websocket rencode bitcoinlib maxminddb pyopenssl + gevent-websocket rencode python-bitcoinlib maxminddb pyopenssl ]; buildPhase = '' diff --git a/pkgs/development/python-modules/opentimestamps/default.nix b/pkgs/development/python-modules/opentimestamps/default.nix index 5a9c412dcd545..2f7936888b690 100644 --- a/pkgs/development/python-modules/opentimestamps/default.nix +++ b/pkgs/development/python-modules/opentimestamps/default.nix @@ -1,6 +1,6 @@ { lib, - bitcoinlib, + python-bitcoinlib, buildPythonPackage, fetchFromGitHub, gitpython, @@ -24,7 +24,7 @@ buildPythonPackage rec { }; propagatedBuildInputs = [ - bitcoinlib + python-bitcoinlib gitpython pycryptodomex ]; diff --git a/pkgs/development/python-modules/bitcoinlib/default.nix b/pkgs/development/python-modules/python-bitcoinlib/default.nix similarity index 97% rename from pkgs/development/python-modules/bitcoinlib/default.nix rename to pkgs/development/python-modules/python-bitcoinlib/default.nix index 910e3ea654a91..745ba8e25bc5c 100644 --- a/pkgs/development/python-modules/bitcoinlib/default.nix +++ b/pkgs/development/python-modules/python-bitcoinlib/default.nix @@ -8,7 +8,7 @@ }: buildPythonPackage rec { - pname = "bitcoinlib"; + pname = "python-bitcoinlib"; version = "0.12.2"; format = "setuptools"; diff --git a/pkgs/servers/monitoring/prometheus/bitcoin-exporter.nix b/pkgs/servers/monitoring/prometheus/bitcoin-exporter.nix index dace095e13d25..2f92d69d35608 100644 --- a/pkgs/servers/monitoring/prometheus/bitcoin-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/bitcoin-exporter.nix @@ -17,7 +17,7 @@ python3Packages.buildPythonApplication rec { # The makefile builds docker containers. dontBuild = true; - propagatedBuildInputs = with python3Packages; [ prometheus-client bitcoinlib riprova ]; + propagatedBuildInputs = with python3Packages; [ prometheus-client python-bitcoinlib riprova ]; installPhase = '' mkdir -p $out/bin diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c4cd60b6fad7b..df98b45c231be 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1657,7 +1657,7 @@ self: super: with self; { bitbox02 = callPackage ../development/python-modules/bitbox02 { }; - bitcoinlib = callPackage ../development/python-modules/bitcoinlib { }; + python-bitcoinlib = callPackage ../development/python-modules/python-bitcoinlib { }; bitcoin-utils-fork-minimal = callPackage ../development/python-modules/bitcoin-utils-fork-minimal { };