depot/third_party/nixpkgs/pkgs/development/python-modules/deepmerge/default.nix

38 lines
700 B
Nix
Raw Normal View History

{ 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 ];
};
}