summary refs log tree commit diff
path: root/pkgs/development/tools/documentation/docutils/default.nix
blob: 1630b0f4072fed340ba89252645ee19fcc338757 (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.5" a; 
  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";
  };
}