Something went wrong. Try again.
lol
Something went wrong. Try again.
993 B · 40 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools-scm,}:
buildPythonPackage rec { pname = "dictdiffer"; version = "0.9.0"; format = "setuptools";
src = fetchFromGitHub { owner = "inveniosoftware"; repo = "dictdiffer"; rev = "v${version}"; hash = "sha256-lQyPs3lQWtsvNPuvvwJUTDzrFaOX5uwGuRHe3yWUheU="; };
nativeBuildInputs = [ setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = '' substituteInPlace setup.py \ --replace "'pytest-runner>=2.7'," "" substituteInPlace pytest.ini \ --replace ' --isort --pydocstyle --pycodestyle --doctest-glob="*.rst" --doctest-modules --cov=dictdiffer --cov-report=term-missing' "" '';
pythonImportsCheck = [ "dictdiffer" ];
meta = { description = "Module to diff and patch dictionaries"; homepage = "https://github.com/inveniosoftware/dictdiffer"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };}