1{ stdenv, fetchPypi, buildPythonPackage, pytest, pyhamcrest }:
2
3buildPythonPackage rec {
4 pname = "base58";
5 version = "1.0.3";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "9a793c599979c497800eb414c852b80866f28daaed5494703fc129592cc83e60";
10 };
11
12 checkInputs = [ pytest pyhamcrest ];
13 checkPhase = ''
14 pytest
15 '';
16
17 meta = with stdenv.lib; {
18 description = "Base58 and Base58Check implementation";
19 homepage = https://github.com/keis/base58;
20 license = licenses.mit;
21 maintainers = with maintainers; [ nyanloutre ];
22 };
23}