2024-04-11 23:29:40 +00:00
|
|
|
{ lib, gccStdenv, fetchurl, fetchpatch, zlib, ncurses }:
|
2012-09-14 21:11:07 +00:00
|
|
|
|
2024-04-11 23:29:40 +00:00
|
|
|
let stdenv = gccStdenv;
|
|
|
|
in
|
2012-09-14 21:11:07 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "aewan";
|
2012-09-14 21:11:07 +00:00
|
|
|
version = "1.0.01";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/aewan/${pname}-${version}.tar.gz";
|
2012-09-14 21:11:07 +00:00
|
|
|
sha256 = "5266dec5e185e530b792522821c97dfa5f9e3892d0dca5e881d0c30ceac21817";
|
|
|
|
};
|
|
|
|
|
2021-11-02 08:49:30 +00:00
|
|
|
patches = [
|
|
|
|
# Pull patch pending upstream inclusion:
|
|
|
|
# https://sourceforge.net/p/aewan/bugs/13/
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://sourceforge.net/p/aewan/bugs/13/attachment/aewan-cvs-ncurses-6.3.patch";
|
|
|
|
sha256 = "0pgpk1l3d6d5y37lvvavipwnmv9gmpfdy21jkz6baxhlkgf43r4p";
|
|
|
|
# patch is in CVS diff format, add 'a/' prefix
|
|
|
|
extraPrefix = "";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2012-09-14 21:11:07 +00:00
|
|
|
buildInputs = [ zlib ncurses ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Ascii-art Editor Without A Name";
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://aewan.sourceforge.net/";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
2012-09-14 21:11:07 +00:00
|
|
|
};
|
|
|
|
}
|