nixpkgs/pkgs/by-name/ew/eweb/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
803 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, python3, asciidoc }:
2015-10-25 05:26:43 +00:00
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 lib; {
homepage = "https://eweb.sourceforge.net/";
2015-10-25 05:26:43 +00:00
description = "Asciidoc-based literate programming tool, written in Python";
mainProgram = "etangle.py";
2015-10-25 05:26:43 +00:00
platforms = platforms.linux;
license = licenses.gpl3Plus;
maintainers = [ maintainers.AndersonTorres ];
};
}