lol
at 18.03-beta 27 lines 767 B view raw
1{ stdenv, fetchurl, perl }: 2 3stdenv.mkDerivation rec { 4 name = "bfr-1.6"; 5 version = "1.6"; 6 7 src = fetchurl { 8 url = "http://www.sourcefiles.org/Utilities/Text_Utilities/bfr-${version}.tar.bz2"; 9 sha256 = "0fadfssvj9klj4dq9wdrzys1k2a1z2j0p6kgnfgbjv0n1bq6h4cy"; 10 }; 11 12 patches = 13 [ (fetchurl { 14 url = "https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-misc/bfr/files/bfr-1.6-perl.patch?revision=1.1"; 15 sha256 = "1pk9jm3c1qzs727lh0bw61w3qbykaqg4jblywf9pvq5bypk88qfj"; 16 }) 17 ]; 18 19 buildInputs = [ perl ]; 20 21 meta = with stdenv.lib; { 22 description = "A general-purpose command-line pipe buffer"; 23 license = stdenv.lib.licenses.gpl2; 24 maintainers = with maintainers; [ pSub ]; 25 platforms = platforms.linux; 26 }; 27}