depot/third_party/nixpkgs/pkgs/development/tools/literate-programming/eweb/default.nix
Default email 1693fb2285 Project import generated by Copybara.
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
2020-10-07 11:15:18 +02:00

27 lines
775 B
Nix

{ stdenv, fetchurl, python3, asciidoc }:
stdenv.mkDerivation rec {
pname = "eweb";
version = "9.10";
src = fetchurl {
url = "mirror://sourceforge/project/eweb/${pname}-${version}.tar.bz2";
sha256 = "1xy7vm2sj5q6s620fm25klmnwnz9xkrxmx4q2f8h6c85ydisayd5";
};
buildInputs = [ python3 asciidoc ];
installPhase = ''
install -d $out/bin $out/share/doc/${pname}-${version}
cp etangle.py $out/bin
cp etangle.w etangle.html $out/share/doc/${pname}-${version}
'';
meta = with stdenv.lib; {
homepage = "http://eweb.sourceforge.net/";
description = "An Asciidoc-based literate programming tool, written in Python";
platforms = platforms.linux;
license = licenses.gpl3Plus;
maintainers = [ maintainers.AndersonTorres ];
};
}