about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/admin/chkcrontab/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/admin/chkcrontab/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/admin/chkcrontab/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/admin/chkcrontab/default.nix b/nixpkgs/pkgs/tools/admin/chkcrontab/default.nix
new file mode 100644
index 000000000000..bbf8d7eaeb1c
--- /dev/null
+++ b/nixpkgs/pkgs/tools/admin/chkcrontab/default.nix
@@ -0,0 +1,20 @@
+{ python, lib }:
+
+with python.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";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ SuperSandro2000 ];
+    homepage = "https://github.com/lyda/chkcrontab";
+  };
+}