2021-04-05 15:23:46 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages, bash, git, less }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "icdiff";
|
|
|
|
version = "1.9.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jeffkaufman";
|
|
|
|
repo = "icdiff";
|
|
|
|
rev = "release-${version}";
|
|
|
|
sha256 = "080v8h09pv8qwplin4kwfm0kmqjwdqjfxbpcdrv16sv4hwfwl5qd";
|
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-04-05 15:23:46 +00:00
|
|
|
bash
|
|
|
|
git
|
|
|
|
less
|
|
|
|
];
|
|
|
|
|
|
|
|
# error: could not lock config file /homeless-shelter/.gitconfig: No such file or directory
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
patchShebangs test.sh
|
|
|
|
./test.sh ${python3Packages.python.interpreter}
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.jefftk.com/icdiff";
|
|
|
|
description = "Side-by-side highlighted command line diffs";
|
2022-01-07 04:07:37 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.psfl;
|
|
|
|
};
|
|
|
|
}
|