summary refs log tree commit diff
path: root/pkgs/development/tools/documentation/docutils/default.nix
blob: f6edcf54463af2ab9c42eaf92550c06a09494198 (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.10" a; 
  buildInputs = with a; [
    python pil makeWrapper 
  ];
in
rec {
  src = fetchurl {
    url = "http://prdownloads.sourceforge.net/docutils/docutils-${version}.tar.gz";
    sha256 = "0gk0733w34zibzvi6paqqfbbajzaxajc4z5i5wpxlwv73gk281ip";
  };

  inherit buildInputs;
  configureFlags = [];

  /* doConfigure should be removed if not needed */
  phaseNames = ["installPythonPackage" "wrapBinContentsPython"];
      
  name = "python-docutils-" + version;
  meta = {
    description = "Processor of ReStructured Text";
  };
}