cope: init at 0-unstable-2024-03-27

This commit is contained in:
DeftDawg 2024-10-02 22:20:30 -04:00
parent acc467c1d9
commit 8019b9413d
2 changed files with 44 additions and 1 deletions

View File

@ -0,0 +1,44 @@
{
lib,
fetchFromGitHub,
perl,
perlPackages,
}:
perlPackages.buildPerlPackage {
pname = "cope";
version = "0-unstable-2024-03-27";
src = fetchFromGitHub {
owner = "deftdawg";
repo = "cope";
rev = "ad0c1ebec5684f5ec3e8becf348414292c489175";
hash = "sha256-LMAir7tUkjHtKz+KME/Raa9QHGN1g0bzr56fNxfURQY=";
};
buildInputs = with perlPackages; [
EnvPath
FileShareDir
IOPty
IOStty
ListMoreUtils
RegexpCommon
RegexpIPv6
];
postInstall = ''
mkdir -p $out/bin
mv $out/${perlPackages.perl.libPrefix}/${perlPackages.perl.version}/auto/share/dist/Cope/* $out/bin/
rm -r $out/${perlPackages.perl.libPrefix}/${perlPackages.perl.version}/auto
'';
meta = {
description = "A colourful wrapper for terminal programs";
homepage = "https://github.com/deftdawg/cope";
license = with lib.licenses; [
artistic1
gpl1Plus
];
maintainers = with lib.maintainers; [ deftdawg ];
};
}

View File

@ -255,7 +255,6 @@ mapAliases {
CoinMP = coinmp; # Added 2024-06-12
collada-dom = opencollada; # added 2024-02-21
composable_kernel = throw "'composable_kernel' has been replaced with 'rocmPackages.composable_kernel'"; # Added 2023-10-08
cope = throw "'cope' has been removed, as it is broken in nixpkgs since it was added, and fixing it is not trivial"; # Added 2024-04-12
coriander = throw "'coriander' has been removed because it depends on GNOME 2 libraries"; # Added 2024-06-27
corretto19 = throw "Corretto 19 was removed as it has reached its end of life"; # Added 2024-08-01
cosmic-tasks = tasks; # Added 2024-07-04