nixpkgs/pkgs/development/python-modules/deepmerge/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

38 lines
700 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, setuptools-scm
, vcver
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "deepmerge";
version = "1.1.0";
disabled = isPy27;
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-TCeg213iheGnzqx9vBUx3qpVa2J96kkAyCRFgezf6i0=";
};
nativeBuildInputs = [
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "deepmerge" ];
meta = with lib; {
description = "A toolset to deeply merge python dictionaries.";
homepage = "http://deepmerge.readthedocs.io/en/latest/";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}