mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
fix pythonDocs install path
This commit is contained in:
parent
b6452df939
commit
06e4059f80
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python26-docs-html-2.6.8";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/2.6.8/python-2.6.8-docs-html.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python26-docs-pdf-a4-2.6.8";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/2.6.8/python-2.6.8-docs-pdf-a4.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python26-docs-pdf-letter-2.6.8";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/2.6.8/python-2.6.8-docs-pdf-letter.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python26-docs-text-2.6.8";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/2.6.8/python-2.6.8-docs-text.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python27-docs-html-2.7.3";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/2.7.3/python-2.7.3-docs-html.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python27-docs-pdf-a4-2.7.3";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/2.7.3/python-2.7.3-docs-pdf-a4.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python27-docs-pdf-letter-2.7.3";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/2.7.3/python-2.7.3-docs-pdf-letter.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python27-docs-text-2.7.3";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/2.7.3/python-2.7.3-docs-text.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python30-docs-html-3.0.1";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.0.1/python-3.0.1-docs-html.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python30-docs-pdf-a4-3.0.1";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.0.1/python-3.0.1-docs-pdf-a4.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python30-docs-pdf-letter-3.0.1";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.0.1/python-3.0.1-docs-pdf-letter.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python30-docs-text-3.0.1";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.0.1/python-3.0.1-docs-text.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
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;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python31-docs-pdf-a4-3.1.5";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.1.5/python-3.1.5-docs-pdf-a4.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python31-docs-pdf-letter-3.1.5";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.1.5/python-3.1.5-docs-pdf-letter.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python31-docs-text-3.1.5";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.1.5/python-3.1.5-docs-text.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python32-docs-html-3.2.3";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.2.3/python-3.2.3-docs-html.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python32-docs-pdf-a4-3.2.3";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.2.3/python-3.2.3-docs-pdf-a4.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python32-docs-pdf-letter-3.2.3";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.2.3/python-3.2.3-docs-pdf-letter.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python32-docs-text-3.2.3";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.2.3/python-3.2.3-docs-text.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python33-docs-html-3.3.0";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.3.0/python-3.3.0-docs-html.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python33-docs-pdf-a4-3.3.0";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.3.0/python-3.3.0-docs-pdf-a4.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python33-docs-pdf-letter-3.3.0";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.3.0/python-3.3.0-docs-pdf-letter.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python33-docs-text-3.3.0";
|
||||
src = fetchurl {
|
||||
url = http://docs.python.org/ftp/python/doc/3.3.0/python-3.3.0-docs-text.tar.bz2;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pythonMAJORMINOR-docs-TYPE-VERSION";
|
||||
src = fetchurl {
|
||||
url = URL;
|
||||
|
@ -10,6 +10,6 @@ stdenv.mkDerivation {
|
|||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/docs
|
||||
cp -R ./ $out/share/docs/
|
||||
cp -R ./ $out/share/docs/${name}
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue