nixpkgs/pkgs/development/python-modules/base58/default.nix

24 lines
561 B
Nix
Raw Normal View History

2019-01-17 14:27:40 +00:00
{ stdenv, fetchPypi, buildPythonPackage, pytest, pyhamcrest }:
2018-06-26 15:18:17 +01:00
buildPythonPackage rec {
pname = "base58";
2019-01-17 14:27:40 +00:00
version = "1.0.3";
2018-06-26 15:18:17 +01:00
2019-01-17 14:27:40 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "9a793c599979c497800eb414c852b80866f28daaed5494703fc129592cc83e60";
2018-06-26 15:18:17 +01:00
};
2019-01-17 14:27:40 +00:00
checkInputs = [ pytest pyhamcrest ];
2018-06-26 15:18:17 +01:00
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "Base58 and Base58Check implementation";
homepage = https://github.com/keis/base58;
license = licenses.mit;
maintainers = with maintainers; [ nyanloutre ];
};
}