From 4a3a6866fd13d91b862b3fe92301d657d8f74b2a Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 25 Oct 2015 03:26:43 -0200 Subject: [PATCH] eweb: init at 9.10 --- .../literate-programming/eweb/default.nix | 28 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/tools/literate-programming/eweb/default.nix diff --git a/pkgs/development/tools/literate-programming/eweb/default.nix b/pkgs/development/tools/literate-programming/eweb/default.nix new file mode 100644 index 000000000000..f996c567fcb5 --- /dev/null +++ b/pkgs/development/tools/literate-programming/eweb/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, python3, asciidoc }: + +stdenv.mkDerivation rec{ + + name = "eweb-${meta.version}"; + + src = fetchurl { + url = "http://downloads.sourceforge.net/project/eweb/${name}.tar.bz2"; + 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" ; + homepage = http://eweb.sf.net; + description = "An Asciidoc-based literate programming tool, written in Python"; + platforms = platforms.linux; + license = licenses.gpl3Plus; + maintainers = [ maintainers.AndersonTorres ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8a694ccca36e..703a73bc6808 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5686,6 +5686,8 @@ let gconf = pkgs.gnome.GConf; }; + eweb = callPackage ../development/tools/literate-programming/eweb { }; + noweb = callPackage ../development/tools/literate-programming/noweb { }; nuweb = callPackage ../development/tools/literate-programming/nuweb { tex = texlive.combined.scheme-small; };