Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, python3Packages, bash, git, less }: 2 3python3Packages.buildPythonApplication rec { 4 pname = "icdiff"; 5 version = "1.9.5"; 6 7 src = fetchFromGitHub { 8 owner = "jeffkaufman"; 9 repo = "icdiff"; 10 rev = "release-${version}"; 11 sha256 = "080v8h09pv8qwplin4kwfm0kmqjwdqjfxbpcdrv16sv4hwfwl5qd"; 12 }; 13 14 nativeCheckInputs = [ 15 bash 16 git 17 less 18 ]; 19 20 # error: could not lock config file /homeless-shelter/.gitconfig: No such file or directory 21 doCheck = false; 22 23 checkPhase = '' 24 patchShebangs test.sh 25 ./test.sh ${python3Packages.python.interpreter} 26 ''; 27 28 meta = with lib; { 29 homepage = "https://www.jefftk.com/icdiff"; 30 description = "Side-by-side highlighted command line diffs"; 31 maintainers = with maintainers; [ ]; 32 license = licenses.psfl; 33 }; 34}