bfr: update source url, fix build and adopt it

+8 -5
+7 -4
pkgs/tools/misc/bfr/default.nix
··· 1 1 { stdenv, fetchurl, perl }: 2 2 3 - stdenv.mkDerivation { 3 + stdenv.mkDerivation rec { 4 4 name = "bfr-1.6"; 5 + version = "1.6"; 5 6 6 7 src = fetchurl { 7 - url = http://www.glines.org/bin/pk/bfr-1.6.tar.bz2; 8 + url = "http://www.sourcefiles.org/Utilities/Text_Utilities/bfr-${version}.tar.bz2"; 8 9 sha256 = "0fadfssvj9klj4dq9wdrzys1k2a1z2j0p6kgnfgbjv0n1bq6h4cy"; 9 10 }; 10 11 11 12 buildInputs = [ perl ]; 12 13 13 - meta = { 14 - description = "general-purpose command-line pipe buffer"; 14 + meta = with stdenv.lib; { 15 + description = "A general-purpose command-line pipe buffer"; 15 16 homepage = http://www.glines.org/wiki/bfr; 16 17 license = stdenv.lib.licenses.gpl2; 18 + maintainers = with maintainers; [ pSub ]; 19 + platforms = platforms.linux; 17 20 }; 18 21 }
+1 -1
pkgs/top-level/all-packages.nix
··· 613 613 614 614 bchunk = callPackage ../tools/cd-dvd/bchunk { }; 615 615 616 - bfr = callPackage ../tools/misc/bfr { }; 616 + bfr = callPackage ../tools/misc/bfr { perl = perl516; }; 617 617 618 618 bindfs = callPackage ../tools/filesystems/bindfs { }; 619 619