cope: init at unstable-2021-01-29

This commit is contained in:
Sandro Jäckel 2021-08-31 17:47:17 +02:00
parent 6032a2af13
commit 0a8c01cfdf
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, fetchFromGitHub, perl, perlPackages, makeWrapper, }:
perlPackages.buildPerlPackage rec {
pname = "cope";
version = "unstable-2021-01-29";
src = fetchFromGitHub {
owner = "lotrfan";
repo = pname;
rev = "0dc82a939a9498ff80caf472841c279dfe03efae";
sha256 = "sha256-Tkv26M6YnaUB0nudjKGG482fvUkCobPk0VF1manBCoY=";
};
buildInputs = with perlPackages; [ EnvPath FileShareDir IOPty IOStty ListMoreUtils RegexpCommon RegexpIPv6 ];
postInstall = ''
mkdir -p $out/bin
mv $out/lib/perl5/site_perl/${perl.version}/auto/share/dist/Cope/* $out/bin/
rm -r $out/lib/perl5/site_perl/${perl.version}/auto
'';
meta = with lib; {
description = "A colourful wrapper for terminal programs";
homepage = "https://github.com/lotrfan/cope";
license = with licenses; [ artistic1 gpl1Plus ];
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -873,6 +873,8 @@ with pkgs;
amidst = callPackage ../tools/games/minecraft/amidst { };
cope = callPackage ../tools/misc/cope { };
gamemode = callPackage ../tools/games/gamemode {
libgamemode32 = pkgsi686Linux.gamemode.lib;
};