12 buildPythonPackage rec {
13 pname = "py-multicodec";
15 disabled = pythonOlder "3.5";
17 src = fetchFromGitHub {
18 owner = "multiformats";
21 sha256 = "sha256-2aK+bfhqCMqSO+mtrHIfNQmQpQHpwd7yHseI/3O7Sp4=";
24 # Error when not substituting:
25 # Failed: [pytest] section in setup.cfg files is no longer supported, change to [tool:pytest] instead.
27 substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
34 propagatedBuildInputs = [
44 pythonImportsCheck = [ "multicodec" ];
47 description = "Compact self-describing codecs";
48 homepage = "https://github.com/multiformats/py-multicodec";
49 license = licenses.mit;
50 maintainers = with maintainers; [ Luflosi ];