diff --git a/pkgs/by-name/ze/zeronet-conservancy/package.nix b/pkgs/by-name/ze/zeronet-conservancy/package.nix index 284578460a04..0477684142c1 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 d0a358a5ba15..d3ffcf81a889 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 5a9c412dcd54..2f7936888b69 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 910e3ea654a9..745ba8e25bc5 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 dace095e13d2..2f92d69d3560 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 c4cd60b6fad7..df98b45c231b 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 { };