mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
ascii: New package, version 3.12.
Quite a useful tool, especially for non English native speakers to find out what people mean with things like "hiccup", "boink", "blugle" and whatnot. And of course it's quite useful to convert between hex/oct/dec/bin. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
bf3d3dd19b
commit
0c160be3d2
25
pkgs/tools/text/ascii/default.nix
Normal file
25
pkgs/tools/text/ascii/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ascii-${version}";
|
||||
version = "3.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.catb.org/~esr/ascii/${name}.tar.gz";
|
||||
sha256 = "17jhmmdbhzzaai0lr5aslg0nmqchq1ygdxwd8pgl7qn2jnxhc6ci";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
sed -i -e 's|$(DESTDIR)/usr|$(out)|g' Makefile
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
mkdir -vp "$out/bin" "$out/share/man/man1"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Interactive ASCII name and synonym chart";
|
||||
homepage = "http://www.catb.org/~esr/ascii/";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
};
|
||||
}
|
@ -373,6 +373,8 @@ let
|
||||
|
||||
archivemount = callPackage ../tools/filesystems/archivemount { };
|
||||
|
||||
ascii = callPackage ../tools/text/ascii { };
|
||||
|
||||
asymptote = builderDefsPackage ../tools/graphics/asymptote {
|
||||
inherit freeglut ghostscriptX imagemagick fftw boehmgc
|
||||
mesa ncurses readline gsl libsigsegv python zlib perl
|
||||
|
Loading…
Reference in New Issue
Block a user