2015-10-25 05:26:43 +00:00
|
|
|
{ stdenv, fetchurl, python3, asciidoc }:
|
|
|
|
|
2020-06-07 22:11:08 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-10-25 05:26:43 +00:00
|
|
|
|
|
|
|
name = "eweb-${meta.version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-02-28 12:07:42 +00:00
|
|
|
url = "mirror://sourceforge/project/eweb/${name}.tar.bz2";
|
2015-10-25 05:26:43 +00:00
|
|
|
sha256 = "1xy7vm2sj5q6s620fm25klmnwnz9xkrxmx4q2f8h6c85ydisayd5";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python3 asciidoc ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -d $out/bin $out/share/doc/${name}
|
|
|
|
cp etangle.py $out/bin
|
|
|
|
cp etangle.w etangle.html $out/share/doc/${name}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
version = "9.10" ;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://eweb.sf.net";
|
2015-10-25 05:26:43 +00:00
|
|
|
description = "An Asciidoc-based literate programming tool, written in Python";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|