1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/literate-programming/eweb/default.nix

28 lines
775 B
Nix
Raw Normal View History

2015-10-25 05:26:43 +00:00
{ stdenv, fetchurl, python3, asciidoc }:
stdenv.mkDerivation rec {
pname = "eweb";
version = "9.10";
2015-10-25 05:26:43 +00:00
src = fetchurl {
url = "mirror://sourceforge/project/eweb/${pname}-${version}.tar.bz2";
2015-10-25 05:26:43 +00:00
sha256 = "1xy7vm2sj5q6s620fm25klmnwnz9xkrxmx4q2f8h6c85ydisayd5";
};
buildInputs = [ python3 asciidoc ];
installPhase = ''
install -d $out/bin $out/share/doc/${pname}-${version}
2015-10-25 05:26:43 +00:00
cp etangle.py $out/bin
cp etangle.w etangle.html $out/share/doc/${pname}-${version}
2015-10-25 05:26:43 +00:00
'';
meta = with stdenv.lib; {
homepage = "http://eweb.sourceforge.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 ];
};
}