1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/pkgs/development/libraries/vrb/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

36 lines
806 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "vrb";
version = "0.5.1";
src = fetchurl {
url = "http://vrb.sourceforge.net/download/${pname}-${version}.tar.bz2";
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/
'';
meta = with lib; {
description = "Virtual ring buffer library written in C";
mainProgram = "vbuf";
license = licenses.lgpl21;
homepage = "http://vrb.sourceforge.net/";
maintainers = [ maintainers.bobvanderlinden ];
platforms = platforms.linux;
};
}