Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
929 B · 52 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, base58, buildPythonPackage, fetchFromGitHub, morphys, pytestCheckHook, pythonOlder, six, varint}:
buildPythonPackage rec { pname = "py-multihash"; version = "2.0.1"; format = "setuptools";
disabled = pythonOlder "3.4";
src = fetchFromGitHub { owner = "multiformats"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-z1lmSypGCMFWJNzNgV9hx/IStyXbpd5jvrptFpewuOA="; };
postPatch = '' substituteInPlace setup.py \ --replace "'pytest-runner', " "" '';
propagatedBuildInputs = [ base58 morphys six varint ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "multihash" ];
meta = with lib; { description = "Self describing hashes - for future proofing"; homepage = "https://github.com/multiformats/py-multihash"; license = licenses.mit; maintainers = with maintainers; [ rakesh4g ]; };}