lol

wiggle: initial version 1.0

Wiggle is a tool for applying patches with conflicts.

+45
+43
pkgs/development/tools/wiggle/default.nix
··· 1 + { stdenv, fetchurl, ncurses, groff }: 2 + 3 + stdenv.mkDerivation { 4 + 5 + name = "wiggle-1.0"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/neilbrown/wiggle/archive/v1.0.tar.gz"; 9 + sha256 = "0552dkdvl001b2jasj0jwb69s7zy6wbc8gcysqj69b4qgl9c54cs"; 10 + }; 11 + 12 + buildInputs = [ ncurses groff ]; 13 + 14 + configurePhase = '' 15 + makeFlagsArray=( CFLAGS="-I. -O3" 16 + INSTALL="install" 17 + BINDIR="$out/bin" 18 + MANDIR="$out/share/man" 19 + ) 20 + patchShebangs . 21 + ''; 22 + 23 + meta = { 24 + homepage = http://blog.neil.brown.name/category/wiggle/; 25 + description = "Tool for applying patches with conflicts"; 26 + 27 + longDescription = '' 28 + Wiggle applies patches to a file in a similar manner to the patch(1) 29 + program. The distinctive difference is, however, that wiggle will 30 + attempt to apply a patch even if the "before" part of the patch doesn't 31 + match the target file perfectly. This is achieved by breaking the file 32 + and patch into words and finding the best alignment of words in the file 33 + with words in the patch. Once this alignment has been found, any 34 + differences (word-wise) in the patch are applied to the file as best as 35 + possible. Also, wiggle will (in some cases) detect changes that have 36 + already been applied, and will ignore them. 37 + ''; 38 + 39 + license = stdenv.lib.licenses.gpl2Plus; 40 + platforms = stdenv.lib.platforms.all; 41 + }; 42 + 43 + }
+2
pkgs/top-level/all-packages.nix
··· 3800 3800 3801 3801 quilt = callPackage ../development/tools/quilt { }; 3802 3802 3803 + wiggle = callPackage ../development/tools/wiggle { }; 3804 + 3803 3805 radamsa = callPackage ../tools/security/radamsa { }; 3804 3806 3805 3807 radarr = callPackage ../servers/radarr { };