depot/third_party/nixpkgs/pkgs/development/python-modules/deepmerge/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

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