3e7541c14f
GitOrigin-RevId: ff377a78794d412a35245e05428c8f95fef3951f
34 lines
807 B
Nix
34 lines
807 B
Nix
{ lib, fetchFromGitHub, python3Packages, bash, git, less }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "icdiff";
|
|
version = "1.9.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jeffkaufman";
|
|
repo = "icdiff";
|
|
rev = "release-${version}";
|
|
sha256 = "080v8h09pv8qwplin4kwfm0kmqjwdqjfxbpcdrv16sv4hwfwl5qd";
|
|
};
|
|
|
|
checkInputs = [
|
|
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}
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.jefftk.com/icdiff";
|
|
description = "Side-by-side highlighted command line diffs";
|
|
maintainers = with maintainers; [ ];
|
|
license = licenses.psfl;
|
|
};
|
|
}
|