Skip to content

Commit

Permalink
perlPackages.IOPty: make it an alias of IOTty
Browse files Browse the repository at this point in the history
The IOPty and IOTty packages refer to the same tarball. Make the former
an alias of the latter so that we don't have to maintain this package
twice.
  • Loading branch information
pks-t committed Dec 30, 2024
1 parent 62aba09 commit 00074c0
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions pkgs/top-level/perl-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12951,23 +12951,6 @@ with self; {
};
};

IOPty = buildPerlModule {
pname = "IO-Pty";
version = "1.16";
src = fetchurl {
url = "mirror://cpan/authors/id/T/TO/TODDR/IO-Tty-1.16.tar.gz";
hash = "sha256-jxoJwHBzitxpXfkD8uf3QwjdjZkbkUwLw5Cg5gISlN0=";
};
buildPhase = "make";
checkPhase = "make test";
installPhase = "make install";
meta = {
homepage = "https://github.com/toddr/IO-Tty";
description = "Pseudo TTY object class";
license = with lib.licenses; [ artistic1 gpl1Plus ];
};
};

IOPrompt = buildPerlModule {
pname = "IO-Prompt";
version = "0.997004";
Expand Down Expand Up @@ -13140,6 +13123,7 @@ with self; {
};
doCheck = !stdenv.hostPlatform.isDarwin; # openpty fails in the sandbox
meta = {
homepage = "https://github.com/toddr/IO-Tty";
description = "Low-level allocate a pseudo-Tty, import constants";
license = with lib.licenses; [ artistic1 gpl1Plus ];
};
Expand Down Expand Up @@ -29512,6 +29496,7 @@ with self; {
DistZillaPluginNoTabsTests = self.DistZillaPluginTestNoTabs;
EmailMIMEModifier = self.EmailMIME;
ExtUtilsCommand = self.ExtUtilsMakeMaker;
IOPty = self.IOTty;
IOSocketInet6 = self.IOSocketINET6;
IOstringy = self.IOStringy;
libintl_perl = self.libintl-perl;
Expand Down

0 comments on commit 00074c0

Please sign in to comment.