From e00647762f42e71d5c0f7733619012a04291c902 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Thu, 22 Aug 2024 23:19:16 -0300 Subject: [PATCH] cronie: init at 1.7.2 --- pkgs/by-name/cr/cronie/package.nix | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pkgs/by-name/cr/cronie/package.nix diff --git a/pkgs/by-name/cr/cronie/package.nix b/pkgs/by-name/cr/cronie/package.nix new file mode 100644 index 000000000000..3cad6e4d1d7a --- /dev/null +++ b/pkgs/by-name/cr/cronie/package.nix @@ -0,0 +1,41 @@ +{ + lib, + autoreconfHook, + fetchFromGitHub, + stdenv, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "cronie"; + version = "1.7.2"; + + src = fetchFromGitHub { + owner = "cronie-crond"; + repo = "cronie"; + rev = "cronie-${finalAttrs.version}"; + hash = "sha256-WrzdpE9t7vWpc8QFoFs+S/HgHwsidRNmfcHp7ltSWQw="; + }; + + nativeBuildInputs = [ autoreconfHook ]; + + outputs = [ + "out" + "man" + ]; + + strictDeps = true; + + meta = { + homepage = "https://github.com/cronie-crond/cronie"; + description = "Cron replacement, based on vixie-cron"; + changelog = "https://github.com/cronie-crond/cronie/blob/master/ChangeLog"; + license = with lib.licenses; [ + gpl2Plus + isc + lgpl21Plus + ]; + mainProgram = "crond"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + platforms = lib.platforms.all; + }; +})