2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, python3, asciidoc }:
|
2015-10-25 05:26:43 +00:00
|
|
|
|
2020-06-07 21:11:08 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-09-27 22:13:37 +00:00
|
|
|
pname = "eweb";
|
|
|
|
version = "9.10";
|
2015-10-25 05:26:43 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-09-27 22:13:37 +00:00
|
|
|
url = "mirror://sourceforge/project/eweb/${pname}-${version}.tar.bz2";
|
2015-10-25 05:26:43 +00:00
|
|
|
sha256 = "1xy7vm2sj5q6s620fm25klmnwnz9xkrxmx4q2f8h6c85ydisayd5";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python3 asciidoc ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2020-09-27 22:13:37 +00:00
|
|
|
install -d $out/bin $out/share/doc/${pname}-${version}
|
2015-10-25 05:26:43 +00:00
|
|
|
cp etangle.py $out/bin
|
2020-09-27 22:13:37 +00:00
|
|
|
cp etangle.w etangle.html $out/share/doc/${pname}-${version}
|
2015-10-25 05:26:43 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://eweb.sourceforge.net/";
|
2015-10-25 05:26:43 +00:00
|
|
|
description = "Asciidoc-based literate programming tool, written in Python";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "etangle.py";
|
2015-10-25 05:26:43 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|