depot/third_party/nixpkgs/pkgs/development/python-modules/base58check/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

36 lines
713 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 = pname;
rev = "v${version}";
hash = "sha256-Tig6beLRDsXC//x4+t/z2BGaJQWzcP0J+QEKx3D0rhs=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"base58check"
];
meta = with lib; {
description = "Implementation of the Base58Check encoding scheme";
homepage = "https://github.com/joeblackwaslike/base58check";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}