about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2022-07-01 23:02:40 +0200
committerGitHub <noreply@github.com>2022-07-01 23:02:40 +0200
commit958c79dc11acf5b07b7e6ca40ae7e96565034788 (patch)
tree4afe85191d64532040ed49801163ce6f8326d2db /pkgs/tools
parenta8c71a477fa3337c5cde8e5ac8b862c807c0385d (diff)
parent4f0cf3d6787d0062634521b68841fd4f34b7efe5 (diff)
Merge pull request #173454 from qbit/p5-rex
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 ];
+  };
+}