3
0
Fork 0
forked from mirrors/nixpkgs

bfr: update source url, fix build and adopt it

This commit is contained in:
Pascal Wittmann 2014-12-19 23:17:07 +01:00
parent 197ea06a73
commit bc19ef9efe
2 changed files with 8 additions and 5 deletions

View file

@ -1,18 +1,21 @@
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "bfr-1.6";
version = "1.6";
src = fetchurl {
url = http://www.glines.org/bin/pk/bfr-1.6.tar.bz2;
url = "http://www.sourcefiles.org/Utilities/Text_Utilities/bfr-${version}.tar.bz2";
sha256 = "0fadfssvj9klj4dq9wdrzys1k2a1z2j0p6kgnfgbjv0n1bq6h4cy";
};
buildInputs = [ perl ];
meta = {
description = "general-purpose command-line pipe buffer";
meta = with stdenv.lib; {
description = "A general-purpose command-line pipe buffer";
homepage = http://www.glines.org/wiki/bfr;
license = stdenv.lib.licenses.gpl2;
maintainers = with maintainers; [ pSub ];
platforms = platforms.linux;
};
}

View file

@ -613,7 +613,7 @@ let
bchunk = callPackage ../tools/cd-dvd/bchunk { };
bfr = callPackage ../tools/misc/bfr { };
bfr = callPackage ../tools/misc/bfr { perl = perl516; };
bindfs = callPackage ../tools/filesystems/bindfs { };