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

24 lines
563 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";
2020-06-06 07:46:59 +01:00
version = "2.0.0";
2018-06-26 15:18:17 +01:00
2019-01-17 14:27:40 +00:00
src = fetchPypi {
inherit pname version;
2020-06-06 07:46:59 +01:00
sha256 = "c83584a8b917dc52dd634307137f2ad2721a9efb4f1de32fc7eaaaf87844177e";
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";
2018-06-26 15:18:17 +01:00
license = licenses.mit;
maintainers = with maintainers; [ nyanloutre ];
};
}