Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
797 B
Nix
38 lines
797 B
Nix
{
|
|
lib,
|
|
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 lib; {
|
|
homepage = "https://eweb.sourceforge.net/";
|
|
description = "Asciidoc-based literate programming tool, written in Python";
|
|
mainProgram = "etangle.py";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl3Plus;
|
|
maintainers = [ ];
|
|
};
|
|
}
|