nixpkgs/pkgs/development/tools/documentation/docutils/default.nix

28 lines
616 B
Nix
Raw Normal View History

a :
let
fetchurl = a.fetchurl;
2013-12-18 14:26:13 +01:00
version = a.lib.attrByPath ["version"] "0.11" a;
buildInputs = with a; [
2013-12-18 14:26:13 +01:00
python pil makeWrapper
];
in
rec {
src = fetchurl {
url = "http://prdownloads.sourceforge.net/docutils/docutils-${version}.tar.gz";
2013-12-18 14:26:13 +01:00
sha256 = "1jbybs5a396nrjy9m13pgvsxdwaj7jw7nsawkhl4fi1nvxm1dx4s";
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["installPythonPackage" "wrapBinContentsPython"];
name = "python-docutils-" + version;
meta = {
description = "Processor of ReStructured Text";
};
}