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

37 lines
650 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools
}:
buildPythonPackage rec {
pname = "merge3";
version = "0.0.14";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-MEBumThvSmUoD7nEPmgYkPoqHYOcrCdZ0VbHzBYDAVk=";
};
nativeBuildInputs = [
setuptools
];
pythonImportsCheck = [
"merge3"
];
meta = with lib; {
description = "Python implementation of 3-way merge";
mainProgram = "merge3";
homepage = "https://github.com/breezy-team/merge3";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ];
};
}