nixpkgs-suyu/pkgs/tools/admin/chkcrontab/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
482 B
Nix

{ lib, python3, fetchPypi }:
with python3.pkgs;
buildPythonApplication rec {
pname = "chkcrontab";
version = "1.7";
src = fetchPypi {
inherit pname version;
sha256 = "0gmxavjkjkvjysgf9cf5fcpk589gb75n1mn20iki82wifi1pk1jn";
};
meta = with lib; {
description = "A tool to detect crontab errors";
mainProgram = "chkcrontab";
license = licenses.asl20;
maintainers = with maintainers; [ ];
homepage = "https://github.com/lyda/chkcrontab";
};
}