1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

cope: init at 0-unstable-2024-03-27 (#304918)

This commit is contained in:
Artturin 2024-10-03 18:43:09 +03:00 committed by GitHub
commit f8c445bd75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 50 additions and 1 deletions

View file

@ -5028,6 +5028,12 @@
github = "definfo";
githubId = 66514911;
};
deftdawg = {
name = "DeftDawg";
github = "deftdawg";
email = "deftdawg@gmail.com";
githubId = 4991612;
};
deifactor = {
name = "Ash Zahlen";
email = "ext0l@riseup.net";

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

@ -258,7 +258,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