nixpkgs-suyu/pkgs/development/libraries/log4cpp/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

21 lines
562 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "log4cpp";
version = "1.1.4";
src = fetchurl {
url = "mirror://sourceforge/log4cpp/${pname}-${version}.tar.gz";
sha256 = "sha256-aWETZZ5CZUBiUnSoslEFLMBDBtjuXEKgx2OfOcqQydY=";
};
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://log4cpp.sourceforge.net/";
description = "A logging framework for C++ patterned after Apache log4j";
mainProgram = "log4cpp-config";
license = licenses.lgpl21Plus;
platforms = platforms.unix;
};
}