depot/third_party/nixpkgs/pkgs/development/python-modules/base58/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

24 lines
622 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, isPy27, pytest, pyhamcrest }:
buildPythonPackage rec {
pname = "base58";
version = "2.0.0";
disabled = isPy27; # python 2 abandoned upstream
src = fetchPypi {
inherit pname version;
sha256 = "c83584a8b917dc52dd634307137f2ad2721a9efb4f1de32fc7eaaaf87844177e";
};
checkInputs = [ pytest pyhamcrest ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "Base58 and Base58Check implementation";
homepage = "https://github.com/keis/base58";
license = licenses.mit;
maintainers = with maintainers; [ nyanloutre ];
};
}