2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, isPy27, fetchFromGitHub, pytest }:
|
2020-08-27 23:26:32 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mergedeep";
|
2021-02-11 08:49:23 +00:00
|
|
|
version = "1.3.4";
|
2020-08-27 23:26:32 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
# PyPI tarball doesn't include tests directory
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "clarketm";
|
|
|
|
repo = "mergedeep";
|
|
|
|
rev = "v${version}";
|
2021-02-11 08:49:23 +00:00
|
|
|
sha256 = "1msvvdzk33sxzgyvs4fs8dlsrsi7fjj038z83s0yw5h8m8d78469";
|
2020-08-27 23:26:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = "pytest";
|
|
|
|
pythonImportsCheck = [ "mergedeep" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-08-27 23:26:32 +01:00
|
|
|
homepage = "https://github.com/clarketm/mergedeep";
|
|
|
|
description = "A deep merge function for python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ris ];
|
|
|
|
};
|
|
|
|
}
|