nixpkgs/pkgs/development/interpreters/python/docs/3.1-html.nix

16 lines
427 B
Nix
Raw Normal View History

2013-03-02 04:40:20 +00:00
# This file was generated and will be overwritten by ./generate.sh
{ stdenv, fetchurl }:
2013-03-02 15:00:50 +00:00
stdenv.mkDerivation rec {
2013-03-02 04:40:20 +00:00
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/docs
2013-03-02 15:00:50 +00:00
cp -R ./ $out/share/docs/${name}
2013-03-02 04:40:20 +00:00
'';
}