mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 11:03:57 +00:00
36 lines
629 B
Nix
36 lines
629 B
Nix
{ 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";
|
|
homepage = "https://github.com/breezy-team/merge3";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ marsam ];
|
|
};
|
|
}
|