a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
37 lines
717 B
Nix
37 lines
717 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, py
|
|
, pyhamcrest
|
|
, pytest-benchmark
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "base58";
|
|
version = "2.1.1";
|
|
format = "setuptools";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c5d0cb3f5b6e81e8e35da5754388ddcc6d0d14b6c6a132cb93d69ed580a7278c";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
py
|
|
pyhamcrest
|
|
pytest-benchmark
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "base58" ];
|
|
|
|
meta = with lib; {
|
|
description = "Base58 and Base58Check implementation";
|
|
homepage = "https://github.com/keis/base58";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ nyanloutre ];
|
|
};
|
|
}
|