2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, python3, asciidoc }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-10-07 09:15:18 +00:00
|
|
|
pname = "eweb";
|
|
|
|
version = "9.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-10-07 09:15:18 +00:00
|
|
|
url = "mirror://sourceforge/project/eweb/${pname}-${version}.tar.bz2";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1xy7vm2sj5q6s620fm25klmnwnz9xkrxmx4q2f8h6c85ydisayd5";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python3 asciidoc ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2020-10-07 09:15:18 +00:00
|
|
|
install -d $out/bin $out/share/doc/${pname}-${version}
|
2020-04-24 23:36:52 +00:00
|
|
|
cp etangle.py $out/bin
|
2020-10-07 09:15:18 +00:00
|
|
|
cp etangle.w etangle.html $out/share/doc/${pname}-${version}
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://eweb.sourceforge.net/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "An Asciidoc-based literate programming tool, written in Python";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|