diff options
author | aszlig <aszlig@redmoonstudios.org> | 2012-12-12 08:00:19 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2012-12-12 12:36:19 +0100 |
commit | 0c160be3d2fc5b6174cfa5224458777f23b586c3 (patch) | |
tree | 72a575740a676ae3f397185654c2e749ff3e9795 /pkgs/tools/text/ascii | |
parent | bf3d3dd19b48c432dd83aa0385b47dbe84aa647b (diff) |
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>
Diffstat (limited to 'pkgs/tools/text/ascii')
-rw-r--r-- | pkgs/tools/text/ascii/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/text/ascii/default.nix b/pkgs/tools/text/ascii/default.nix new file mode 100644 index 0000000000000..769cf389426cb --- /dev/null +++ b/pkgs/tools/text/ascii/default.nix @@ -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; + }; +} |