about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorAaron Bieber <aaron@bolddaemon.com>2022-05-17 21:45:08 -0600
committerAaron Bieber <aaron@bolddaemon.com>2022-06-09 11:41:35 -0600
commit4f0cf3d6787d0062634521b68841fd4f34b7efe5 (patch)
treec37f792c99966ec8b8391082f54701f4f07d86db /pkgs/tools
parent4eb9c577b7296f37ab35067979c29f3c76c4edb4 (diff)
rex: init at 1.13.4
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/system/rex/default.nix53
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/tools/system/rex/default.nix b/pkgs/tools/system/rex/default.nix
new file mode 100644
index 0000000000000..2bb67333121e8
--- /dev/null
+++ b/pkgs/tools/system/rex/default.nix
@@ -0,0 +1,53 @@
+{ pkgs, lib, fetchurl, perlPackages, rsync, ... }:
+
+perlPackages.buildPerlPackage rec {
+  pname = "Rex";
+  version = "1.13.4";
+  src = fetchurl {
+    url = "mirror://cpan/authors/id/F/FE/FERKI/Rex-${version}.tar.gz";
+    sha256 = "a86e9270159b41c9a8fce96f9ddc97c5caa68167ca4ed33e97908bfce17098cf";
+  };
+  buildInputs = with perlPackages; [
+    FileShareDirInstall
+    ParallelForkManager
+    StringEscape
+    TestDeep
+    TestOutput
+    TestUseAllModules
+
+    rsync
+  ];
+
+  nativeBuildInputs = with perlPackages; [ ParallelForkManager ];
+
+  propagatedBuildInputs = with perlPackages; [
+    AWSSignature4
+    DataValidateIP
+    DevelCaller
+    DigestHMAC
+    FileLibMagic
+    HashMerge
+    HTTPMessage
+    IOPty
+    IOString
+    JSONMaybeXS
+    LWP
+    NetOpenSSH
+    NetSFTPForeign
+    SortNaturally
+    TermReadKey
+    TextGlob
+    URI
+    XMLSimple
+    YAML
+  ];
+
+  doCheck = false;
+
+  meta = {
+    homepage = "https://www.rexify.org";
+    description = "The friendly automation framework";
+    license = lib.licenses.asl20;
+    maintainers = with lib.maintainers; [ qbit ];
+  };
+}