depot/third_party/nixpkgs/pkgs/development/python-modules/mergedeep/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

26 lines
688 B
Nix

{ lib, buildPythonPackage, isPy27, fetchFromGitHub, pytest }:
buildPythonPackage rec {
pname = "mergedeep";
version = "1.3.4";
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 = "A deep merge function for python";
license = licenses.mit;
maintainers = with maintainers; [ ris ];
};
}