Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 622 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, isPy27, pytest, pyhamcrest }: 2 3buildPythonPackage rec { 4 pname = "base58"; 5 version = "2.0.1"; 6 disabled = isPy27; # python 2 abandoned upstream 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "365c9561d9babac1b5f18ee797508cd54937a724b6e419a130abad69cec5ca79"; 11 }; 12 13 checkInputs = [ pytest pyhamcrest ]; 14 checkPhase = '' 15 pytest 16 ''; 17 18 meta = with stdenv.lib; { 19 description = "Base58 and Base58Check implementation"; 20 homepage = "https://github.com/keis/base58"; 21 license = licenses.mit; 22 maintainers = with maintainers; [ nyanloutre ]; 23 }; 24}