uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
34
pkgs/tools/text/icdiff/default.nix
Normal file
34
pkgs/tools/text/icdiff/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue