nixpkgs/pkgs/development/interpreters/python/docs/3.1-html.nix
Florian Friesdorf b345bca3af pythonDocs: group in subfolders pythonXY/TYPE
I got it now - promised.
2013-03-05 12:41:30 +01:00

19 lines
509 B
Nix

# This file was generated and will be overwritten by ./generate.sh
{ stdenv, fetchurl, lib }:
stdenv.mkDerivation rec {
name = "python31-docs-html-3.1.5";
src = fetchurl {
url = http://docs.python.org/ftp/python/doc/3.1.5/python-3.1.5-docs-html.tar.bz2;
sha256 = "187shb92218k0i07hj9ak1kqbqjcxkivmwxlzj18v791l7x7qcpz";
};
installPhase = ''
mkdir -p $out/share/doc/python31
cp -R ./ $out/share/doc/python31/html
'';
meta = {
maintainers = [ lib.maintainers.chaoflow ];
};
}