2012-12-12 08:00:19 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ascii-${version}";
|
2017-09-11 16:01:01 +02:00
|
|
|
version = "3.18";
|
2012-12-12 08:00:19 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.catb.org/~esr/ascii/${name}.tar.gz";
|
2017-09-11 16:01:01 +02:00
|
|
|
sha256 = "0b87vy06s8s3a8q70pqavsbk4m4ff034sdml2xxa6qfsykaj513j";
|
2012-12-12 08:00:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
prePatch = ''
|
2013-11-30 23:48:01 +01:00
|
|
|
sed -i -e "s|^PREFIX = .*|PREFIX = $out|" Makefile
|
2012-12-12 08:00:19 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -vp "$out/bin" "$out/share/man/man1"
|
|
|
|
'';
|
|
|
|
|
2013-11-30 23:39:52 +01:00
|
|
|
meta = with stdenv.lib; {
|
2012-12-12 08:00:19 +01:00
|
|
|
description = "Interactive ASCII name and synonym chart";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://www.catb.org/~esr/ascii/;
|
2013-11-30 23:39:52 +01:00
|
|
|
license = licenses.bsd3;
|
2015-10-28 18:53:31 +01:00
|
|
|
platforms = platforms.all;
|
2013-11-30 23:39:52 +01:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
2012-12-12 08:00:19 +01:00
|
|
|
};
|
|
|
|
}
|