diff options
author | Janne Heß <janne@hess.ooo> | 2022-07-01 23:02:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 23:02:40 +0200 |
commit | 958c79dc11acf5b07b7e6ca40ae7e96565034788 (patch) | |
tree | 4afe85191d64532040ed49801163ce6f8326d2db /pkgs | |
parent | a8c71a477fa3337c5cde8e5ac8b862c807c0385d (diff) | |
parent | 4f0cf3d6787d0062634521b68841fd4f34b7efe5 (diff) |
Merge pull request #173454 from qbit/p5-rex
rex: init at 1.13.4
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/system/rex/default.nix | 53 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/perl-packages.nix | 14 |
3 files changed, 69 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ee80ec268fc39..41ed2debebab9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4368,6 +4368,8 @@ with pkgs; reg = callPackage ../tools/virtualization/reg { }; + rex = callPackage ../tools/system/rex { }; + river = callPackage ../applications/window-managers/river { }; rivercarro = callPackage ../applications/misc/rivercarro { }; diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index df9b8bf3315b4..244711fa90134 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -1359,6 +1359,20 @@ let buildInputs = [ DBI ]; }; + AWSSignature4 = perlPackages.buildPerlModule { + pname = "AWS-Signature4"; + version = "1.02"; + src = fetchurl { + url = "mirror://cpan/authors/id/L/LD/LDS/AWS-Signature4-1.02.tar.gz"; + sha256 = "20bbc16cb3454fe5e8cf34fe61f1a91fe26c3f17e449ff665fcbbb92ab443ebd"; + }; + propagatedBuildInputs = [ LWP TimeDate URI ]; + meta = { + description = "Create a version4 signature for Amazon Web Services"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + autovivification = buildPerlPackage { pname = "autovivification"; version = "0.18"; |