nixpkgs/pkgs/development/python-modules/logster/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

23 lines
569 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, pygtail }:
buildPythonPackage rec {
pname = "logster";
version = "1.0.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "etsy";
repo = pname;
rev = version;
sha256 = "06ac5hydas24h2cn8l5i69v1z0min5hwh6a1lcm1b08xnvpsi85q";
};
propagatedBuildInputs = [ pygtail ];
meta = with lib; {
description = "Parses log files, generates metrics for Graphite and Ganglia";
mainProgram = "logster";
license = licenses.gpl3Plus;
homepage = "https://github.com/etsy/logster";
};
}