From 4eb9c577b7296f37ab35067979c29f3c76c4edb4 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Tue, 17 May 2022 21:42:15 -0600 Subject: [PATCH 1/2] perlPackages.AWSSignature4: init at 1.02 --- pkgs/top-level/perl-packages.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 3c97d570a905..2453bb92f407 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -1329,6 +1329,21 @@ 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 = with perlPackages; [ 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"; From 4f0cf3d6787d0062634521b68841fd4f34b7efe5 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Tue, 17 May 2022 21:45:08 -0600 Subject: [PATCH 2/2] rex: init at 1.13.4 --- pkgs/tools/system/rex/default.nix | 53 +++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ pkgs/top-level/perl-packages.nix | 5 ++- 3 files changed, 57 insertions(+), 3 deletions(-) create mode 100644 pkgs/tools/system/rex/default.nix diff --git a/pkgs/tools/system/rex/default.nix b/pkgs/tools/system/rex/default.nix new file mode 100644 index 000000000000..2bb67333121e --- /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 53c335dc5a93..133df448a6bf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4140,6 +4140,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 2453bb92f407..a71cb0e27366 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -1334,10 +1334,9 @@ let version = "1.02"; src = fetchurl { url = "mirror://cpan/authors/id/L/LD/LDS/AWS-Signature4-1.02.tar.gz"; - sha256 = - "20bbc16cb3454fe5e8cf34fe61f1a91fe26c3f17e449ff665fcbbb92ab443ebd"; + sha256 = "20bbc16cb3454fe5e8cf34fe61f1a91fe26c3f17e449ff665fcbbb92ab443ebd"; }; - propagatedBuildInputs = with perlPackages; [ LWP TimeDate URI ]; + propagatedBuildInputs = [ LWP TimeDate URI ]; meta = { description = "Create a version4 signature for Amazon Web Services"; license = with lib.licenses; [ artistic1 gpl1Plus ];