nixpkgs/pkgs/by-name/mb/mbuffer/package.nix
Emery Hemingway e5acd64a30 mbuffer: 20240929 -> 20241007
- Move to pkgs/by-name
- Add maintainer
- Split man output
2024-10-30 08:31:56 +00:00

36 lines
787 B
Nix

{ lib
, stdenv
, fetchurl
, openssl
, which
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mbuffer";
version = "20241007";
outputs = [ "out" "man" ];
src = fetchurl {
url = "http://www.maier-komor.de/software/mbuffer/mbuffer-${finalAttrs.version}.tgz";
sha256 = "sha256-nXNjAQtO9FsWRva19QJ7SbtqIJxQL7hOKBx713HVa+0=";
};
buildInputs = [
openssl
];
nativeBuildInputs = [
which
];
doCheck = true;
meta = {
description = "Tool for buffering data streams with a large set of unique features";
homepage = "https://www.maier-komor.de/mbuffer.html";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ ehmry ];
platforms = lib.platforms.linux; # Maybe other non-darwin Unix
mainProgram = "mbuffer";
};
})