summary refs log tree commit diff
path: root/pkgs/development/tools/documentation/docutils/default.nix
blob: cd01cf059d6f375c69ed8da923c85f3e38dba848 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
a :  
let 
  fetchurl = a.fetchurl;

  version = a.lib.attrByPath ["version"] "0.11" a;
  buildInputs = with a; [
    python pil makeWrapper
  ];
in
rec {
  src = fetchurl {
    url = "http://prdownloads.sourceforge.net/docutils/docutils-${version}.tar.gz";
    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";
  };
}