Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 65 lines 1.2 kB view raw
1{ lib 2, stdenv 3, fetchurl 4, makeWrapper 5, bash 6, coreutils 7, diffstat 8, diffutils 9, findutils 10, gawk 11, gnugrep 12, gnused 13, patch 14, perl 15, unixtools 16}: 17 18stdenv.mkDerivation rec { 19 20 pname = "quilt"; 21 version = "0.67"; 22 23 src = fetchurl { 24 url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz"; 25 sha256 = "sha256-O+O+CYfnKmw2Rni7gn4+H8wQMitWvF8CtXZpj1UBPMI="; 26 }; 27 28 nativeBuildInputs = [ makeWrapper ]; 29 30 buildInputs = [ 31 bash 32 coreutils 33 diffstat 34 diffutils 35 findutils 36 gawk 37 gnugrep 38 gnused 39 patch 40 perl 41 unixtools.column 42 unixtools.getopt 43 ]; 44 45 postInstall = '' 46 wrapProgram $out/bin/quilt --prefix PATH : ${lib.makeBinPath buildInputs} 47 ''; 48 49 meta = with lib; { 50 homepage = "https://savannah.nongnu.org/projects/quilt"; 51 description = "Easily manage large numbers of patches"; 52 53 longDescription = '' 54 Quilt allows you to easily manage large numbers of 55 patches by keeping track of the changes each patch 56 makes. Patches can be applied, un-applied, refreshed, 57 and more. 58 ''; 59 60 license = licenses.gpl2Plus; 61 maintainers = with maintainers; [ smancill ]; 62 platforms = platforms.all; 63 }; 64 65}