biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / misc / bfr / default.nix
blob6d67d4d2067723d414704673663b8fc1adb7cbd3
1 { lib, stdenv, fetchurl, perl }:
3 stdenv.mkDerivation rec {
4   pname = "bfr";
5   version = "1.6";
7   src = fetchurl {
8     url = "http://www.sourcefiles.org/Utilities/Text_Utilities/bfr-${version}.tar.bz2";
9     sha256 = "0fadfssvj9klj4dq9wdrzys1k2a1z2j0p6kgnfgbjv0n1bq6h4cy";
10   };
12   patches =
13     [ (fetchurl {
14         url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/app-misc/bfr/files/bfr-1.6-perl.patch";
15         sha256 = "1pk9jm3c1qzs727lh0bw61w3qbykaqg4jblywf9pvq5bypk88qfj";
16       })
17     ];
19   buildInputs = [ perl ];
21   meta = with lib; {
22     description = "General-purpose command-line pipe buffer";
23     license = lib.licenses.gpl2Only;
24     maintainers = with maintainers; [ pSub ];
25     platforms = platforms.linux;
26   };