nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 31 lines 824 B view raw
1{ lib, stdenv, fetchurl, makeWrapper, coreutils }: 2 3stdenv.mkDerivation { 4 version = "4.0.4"; 5 pname = "redo-sh"; 6 7 src = fetchurl { 8 url = "http://news.dieweltistgarnichtso.net/bin/archives/redo-sh.tar.gz"; 9 sha256 = "0d3hz3vy5qmjr9r4f8a5cx9hikpzs8h8f0fsl3dpbialf4wck24g"; 10 }; 11 12 nativeBuildInputs = [ makeWrapper ]; 13 14 sourceRoot = "."; 15 installPhase = '' 16 mkdir -p "$out/share" 17 mv man "$out/share" 18 mv bin "$out" 19 for p in $out/bin/*; do 20 wrapProgram "$p" --prefix PATH : "$out/bin:${coreutils}/bin" 21 done 22 ''; 23 24 meta = with lib; { 25 description = "Redo implementation in Bourne Shell"; 26 homepage = "http://news.dieweltistgarnichtso.net/bin/redo-sh.html"; 27 license = licenses.agpl3; 28 platforms = platforms.unix; 29 maintainers = with maintainers; [ sternenseemann ]; 30 }; 31}