nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 965 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 morphys, 6 pytestCheckHook, 7 python-baseconv, 8 setuptools, 9 six, 10}: 11buildPythonPackage (finalAttrs: { 12 pname = "py-multibase"; 13 version = "2.0.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "multiformats"; 18 repo = "py-multibase"; 19 tag = "v${finalAttrs.version}"; 20 hash = "sha256-k5vQqrSe1glT2YIcD+FIhQTpCZQvx5D4z1n7omuypcI="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 morphys 27 python-baseconv 28 six 29 ]; 30 31 nativeCheckInputs = [ pytestCheckHook ]; 32 33 pythonImportsCheck = [ "multibase" ]; 34 35 meta = { 36 description = "Module for distinguishing base encodings and other simple string encodings"; 37 homepage = "https://github.com/multiformats/py-multibase"; 38 changelog = "https://github.com/multiformats/py-multibase/blob/${finalAttrs.src.tag}/HISTORY.rst"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ rakesh4g ]; 41 }; 42})