1 { lib, stdenv, fetchFromGitLab, gitUpdater, asciidoctor }:
3 stdenv.mkDerivation (finalAttrs: {
7 src = fetchFromGitLab {
10 rev = "refs/tags/${finalAttrs.version}";
11 hash = "sha256-TE9YR5Va9tXaf2ZyNxz7d8lZRTgnD4Lz7FyqRDl1HNY=";
19 sed -i -e "s|^PREFIX = .*|PREFIX = $out|" Makefile
23 mkdir -vp "$out/bin" "$out/share/man/man1"
26 passthru.updateScript = gitUpdater { };
29 description = "Interactive ASCII name and synonym chart";
30 mainProgram = "ascii";
31 homepage = "http://www.catb.org/~esr/ascii/";
32 changelog = "https://gitlab.com/esr/ascii/-/blob/${finalAttrs.version}/NEWS.adoc";
33 license = licenses.bsd2;
34 platforms = platforms.all;
35 maintainers = [ maintainers.bjornfor ];