diff options
author | Quantenzitrone <74491719+Quantenzitrone@users.noreply.github.com> | 2023-09-05 21:20:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-05 23:20:06 +0200 |
commit | 736cfed3efe617e32ca582eb24c9cacaaa8cd1a6 (patch) | |
tree | 0d577c059e33214ba12f7b9c119a5d90643b922f /pkgs/by-name | |
parent | 512eca03fb163917f9c7b42607f1663355b96fae (diff) |
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>
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/as/asciiquarium-transparent/package.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/by-name/as/asciiquarium-transparent/package.nix b/pkgs/by-name/as/asciiquarium-transparent/package.nix new file mode 100644 index 0000000000000..2472d5015dafa --- /dev/null +++ b/pkgs/by-name/as/asciiquarium-transparent/package.nix @@ -0,0 +1,34 @@ +{ + lib, + stdenv, + fetchFromGitHub, + makeWrapper, + perlPackages, +}: +stdenv.mkDerivation { + pname = "asciiquarium-transparent"; + version = "unstable-2023-02-19"; + src = fetchFromGitHub { + owner = "nothub"; + repo = "asciiquarium"; + rev = "653cd99a611080c776d18fc7991ae5dd924c72ce"; + hash = "sha256-72LRFydbObFDXJllmlRjr5O8qjDqtlp3JunE3kwb5aU="; + }; + nativeBuildInputs = [makeWrapper]; + buildInputs = [perlPackages.perl]; + installPhase = '' + runHook preInstall + mkdir -p $out/bin + cp asciiquarium $out/bin/asciiquarium + wrapProgram $out/bin/asciiquarium --set PERL5LIB ${perlPackages.makeFullPerlPath [perlPackages.TermAnimation]} + runHook postInstall + ''; + meta = with lib; { + description = "An aquarium/sea animation in ASCII art (with option of transparent background)"; + mainProgram = "asciiquarium"; + homepage = "https://github.com/nothub/asciiquarium"; + license = with licenses; [gpl2Only]; + platforms = platforms.unix; + maintainers = with maintainers; [quantenzitrone]; + }; +} |