Files
nixpkgs/pkgs/development/python-modules/base58check/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
720 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "base58check";
version = "1.0.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "joeblackwaslike";
repo = "base58check";
rev = "v${version}";
hash = "sha256-Tig6beLRDsXC//x4+t/z2BGaJQWzcP0J+QEKx3D0rhs=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "base58check" ];
meta = {
description = "Implementation of the Base58Check encoding scheme";
homepage = "https://github.com/joeblackwaslike/base58check";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}