Files
nixpkgs/pkgs/development/python-modules/bip32/default.nix
T
Robert Schütz 1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00

45 lines
1004 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
pytestCheckHook,
setuptools,
base58,
coincurve,
}:
buildPythonPackage rec {
pname = "bip32";
version = "5.0";
pyproject = true;
# the PyPi source distribution ships a broken setup.py, so use github instead
src = fetchFromGitHub {
owner = "darosior";
repo = "python-bip32";
rev = version;
hash = "sha256-QO1gS9bx/eQPaLuB1ZNZuXj4DmeO4/La2hG9NCXjd+4=";
};
pythonRelaxDeps = [ "coincurve" ];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
base58
coincurve
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bip32" ];
meta = {
description = "Minimalistic implementation of the BIP32 key derivation scheme";
homepage = "https://github.com/darosior/python-bip32";
changelog = "https://github.com/darosior/python-bip32/blob/${version}/CHANGELOG.md";
license = with lib.licenses; [ bsd3 ];
maintainers = with lib.maintainers; [ arcnmx ];
};
}