From edd15f6e4501dab2cdf3ab0701c4eaab48576de6 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Sat, 21 Oct 2023 15:26:46 -0600 Subject: [PATCH] overlay/PLS: add missing FutureQueue dep --- overlays/PLS.nix | 36 ++++++++++++++++++++++++++++++++++++ overlays/default.nix | 2 ++ pull_requests/262524.json | 9 +++++++++ 3 files changed, 47 insertions(+) create mode 100644 overlays/PLS.nix create mode 100644 pull_requests/262524.json diff --git a/overlays/PLS.nix b/overlays/PLS.nix new file mode 100644 index 0000000..1be7761 --- /dev/null +++ b/overlays/PLS.nix @@ -0,0 +1,36 @@ +let + perlPackages = _: super: { + PLS = + let + FutureQueue = super.buildPerlModule { + pname = "Future-Queue"; + version = "0.51"; + src = super.fetchurl { + url = "mirror://cpan/authors/id/P/PE/PEVANS/Future-Queue-0.51.tar.gz"; + hash = "sha256-HVAcOpot3/x8YPlvpmlp1AyykuCSBM9t7NHCuLUAPNY="; + }; + buildInputs = with super.perlPackages; [ Test2Suite ]; + propagatedBuildInputs = with super.perlPackages; [ Future ]; + meta = { + description = "A FIFO queue of values that uses Ls"; + license = with super.lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + in + super.PLS.overrideAttrs (_: { + propagatedBuildInputs = with super.perlPackages; [ + Future + FutureQueue + IOAsync + PPI + PPR + PathTiny + PerlCritic + PerlTidy + PodMarkdown + URI + ]; + }); + }; +in +perlPackages diff --git a/overlays/default.nix b/overlays/default.nix index ffd6ab5..a630788 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -15,11 +15,13 @@ let #rex = prIsOpen.overlay 0 (import ./rex.nix); signal-desktop = prIsOpen.overlay 260160 (import ./signal-desktop.nix); bruno = prIsOpen.overlay 260160 (import ./bruno.nix); + pls = prIsOpen.overlay 262524 (import ./PLS.nix); in { nixpkgs.overlays = if isUnstable then [ + pls bruno signal-desktop #rex diff --git a/pull_requests/262524.json b/pull_requests/262524.json new file mode 100644 index 0000000..93aad96 --- /dev/null +++ b/pull_requests/262524.json @@ -0,0 +1,9 @@ +{ + "branches": [], + "error": "", + "pull_request": 262524, + "release": "stable", + "status": "open", + "status_info": {}, + "title": "perlPackages.PLS: add missing FutureQueue dependency" +}