depot/third_party/nixpkgs/pkgs/development/python-modules/mergedeep/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
722 B
Nix

{
lib,
buildPythonPackage,
isPy27,
fetchFromGitHub,
pytest,
}:
buildPythonPackage rec {
pname = "mergedeep";
version = "1.3.4";
format = "setuptools";
disabled = isPy27;
# PyPI tarball doesn't include tests directory
src = fetchFromGitHub {
owner = "clarketm";
repo = "mergedeep";
rev = "v${version}";
sha256 = "1msvvdzk33sxzgyvs4fs8dlsrsi7fjj038z83s0yw5h8m8d78469";
};
nativeCheckInputs = [ pytest ];
checkPhase = "pytest";
pythonImportsCheck = [ "mergedeep" ];
meta = with lib; {
homepage = "https://github.com/clarketm/mergedeep";
description = "Deep merge function for python";
license = licenses.mit;
maintainers = with maintainers; [ ris ];
};
}