Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 34 lines 661 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pyhamcrest 5, pytest-benchmark 6, pytestCheckHook 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "base58"; 12 version = "2.1.0"; 13 disabled = pythonOlder "3.5"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-FxpUe0o8YeGuOAciSm967HXjZMQ5XnViZJ1zNXaAAaI="; 18 }; 19 20 checkInputs = [ 21 pyhamcrest 22 pytest-benchmark 23 pytestCheckHook 24 ]; 25 26 pythonImportsCheck = [ "base58" ]; 27 28 meta = with lib; { 29 description = "Base58 and Base58Check implementation"; 30 homepage = "https://github.com/keis/base58"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ nyanloutre ]; 33 }; 34}