overlay/PLS: add missing FutureQueue dep

This commit is contained in:
Aaron Bieber 2023-10-21 15:26:46 -06:00
parent db700613d1
commit edd15f6e45
No known key found for this signature in database
3 changed files with 47 additions and 0 deletions

36
overlays/PLS.nix Normal file
View File

@ -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 L<Future>s";
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

View File

@ -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

View File

@ -0,0 +1,9 @@
{
"branches": [],
"error": "",
"pull_request": 262524,
"release": "stable",
"status": "open",
"status_info": {},
"title": "perlPackages.PLS: add missing FutureQueue dependency"
}