asciiquarium-transparent: init at unstable-2023-02-19 (#253439)

* asciiquarium-transparent: init at unstable-2023-02-19

* asciiquarium-transparent: apply suggestions

---------

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>

authored by

Quantenzitrone
Weijia Wang
and committed by
GitHub
736cfed3 512eca03

+34
+34
pkgs/by-name/as/asciiquarium-transparent/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + makeWrapper, 6 + perlPackages, 7 + }: 8 + stdenv.mkDerivation { 9 + pname = "asciiquarium-transparent"; 10 + version = "unstable-2023-02-19"; 11 + src = fetchFromGitHub { 12 + owner = "nothub"; 13 + repo = "asciiquarium"; 14 + rev = "653cd99a611080c776d18fc7991ae5dd924c72ce"; 15 + hash = "sha256-72LRFydbObFDXJllmlRjr5O8qjDqtlp3JunE3kwb5aU="; 16 + }; 17 + nativeBuildInputs = [makeWrapper]; 18 + buildInputs = [perlPackages.perl]; 19 + installPhase = '' 20 + runHook preInstall 21 + mkdir -p $out/bin 22 + cp asciiquarium $out/bin/asciiquarium 23 + wrapProgram $out/bin/asciiquarium --set PERL5LIB ${perlPackages.makeFullPerlPath [perlPackages.TermAnimation]} 24 + runHook postInstall 25 + ''; 26 + meta = with lib; { 27 + description = "An aquarium/sea animation in ASCII art (with option of transparent background)"; 28 + mainProgram = "asciiquarium"; 29 + homepage = "https://github.com/nothub/asciiquarium"; 30 + license = with licenses; [gpl2Only]; 31 + platforms = platforms.unix; 32 + maintainers = with maintainers; [quantenzitrone]; 33 + }; 34 + }