pythonPackages.base58: init at 1.0.0

This commit is contained in:
nyanloutre 2018-06-26 16:18:17 +02:00
parent b4dd956bb1
commit 3ffca639a4
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, buildPythonPackage, pytest, pyhamcrest }:
buildPythonPackage rec {
pname = "base58";
version = "1.0.0";
src = fetchFromGitHub {
owner = "keis";
repo = "base58";
rev = "v${version}";
sha256 = "0f8isdpvbgw0sqn9bj7hk47y8akpvdl8sn6rkszla0xb92ywj0f6";
};
buildInputs = [ 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 ];
};
}

View file

@ -980,6 +980,8 @@ in {
inherit (pkgs) gcc wirelesstools;
};
base58 = callPackage ../development/python-modules/base58 {};
batinfo = callPackage ../development/python-modules/batinfo {};
bcdoc = callPackage ../development/python-modules/bcdoc {};