2009-04-12 21:34:20 +02:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2009-05-24 12:57:41 +02:00
|
|
|
version = a.lib.attrByPath ["version"] "0.5" a;
|
2009-04-12 21:34:20 +02:00
|
|
|
buildInputs = with a; [
|
|
|
|
python pil makeWrapper
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://prdownloads.sourceforge.net/docutils/docutils-${version}.tar.gz";
|
|
|
|
sha256 = "03k1dakb5j1xi1xd62vqqy7dkgd1fhr4ahmvvmd5g87wxn2gjz3l";
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["installPythonPackage" "wrapBinContentsPython"];
|
|
|
|
|
|
|
|
name = "python-docutils-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Processor of ReStructured Text";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|