2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2017-10-22 15:06:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "vrb";
|
2017-10-22 15:06:34 +01:00
|
|
|
version = "0.5.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://vrb.sourceforge.net/download/${pname}-${version}.tar.bz2";
|
2017-10-22 15:06:34 +01:00
|
|
|
sha256 = "d579ed1998ef2d78e2ef8481a748d26e1fa12cdda806d2e31d8ec66ffb0e289f";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./removed_options.patch
|
|
|
|
./unused-but-set-variable.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/share/man/man3
|
|
|
|
cp -p vrb/man/man3/*.3 $out/share/man/man3/
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-10-22 15:06:34 +01:00
|
|
|
description = "A virtual ring buffer library written in C";
|
|
|
|
license = licenses.lgpl21;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://vrb.sourceforge.net/";
|
2017-10-22 15:06:34 +01:00
|
|
|
maintainers = [ maintainers.bobvanderlinden ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|