3
0
Fork 0
forked from mirrors/nixpkgs

asciiquarium: init at 1.1

This commit is contained in:
Utku Demir 2019-01-18 12:01:14 +13:00
parent 5e691849ea
commit 2004af94f7
No known key found for this signature in database
GPG key ID: F3F8629C3E0BF60B
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv, fetchurl, makeWrapper, perlPackages }:
let version = "1.1";
in stdenv.mkDerivation {
name = "asciiquarium-${version}";
src = fetchurl {
url = "https://robobunny.com/projects/asciiquarium/asciiquarium_${version}.tar.gz";
sha256 = "0qfkr5b7sxzi973nh0h84blz2crvmf28jkkgaj3mxrr56mhwc20v";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perlPackages.perl ];
installPhase = ''
mkdir -p $out/bin
cp asciiquarium $out/bin
chmod +x $out/bin/asciiquarium
wrapProgram $out/bin/asciiquarium \
--set PERL5LIB ${perlPackages.makeFullPerlPath [ perlPackages.TermAnimation ] }
'';
meta = with stdenv.lib; {
description = "Enjoy the mysteries of the sea from the safety of your own terminal!";
homepage = https://robobunny.com/projects/asciiquarium/html;
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = [ maintainers.utdemir ];
};
}

View file

@ -595,6 +595,8 @@ in
asciinema = callPackage ../tools/misc/asciinema {}; asciinema = callPackage ../tools/misc/asciinema {};
asciiquarium = callPackage ../applications/misc/asciiquarium {};
asymptote = callPackage ../tools/graphics/asymptote { asymptote = callPackage ../tools/graphics/asymptote {
texLive = texlive.combine { inherit (texlive) scheme-small epsf cm-super; }; texLive = texlive.combine { inherit (texlive) scheme-small epsf cm-super; };
gsl = gsl_1; gsl = gsl_1;