Files
nixpkgs/pkgs/development/python-modules/merge3/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

37 lines
657 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";
mainProgram = "merge3";
homepage = "https://github.com/breezy-team/merge3";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ marsam ];
};
}