pythonDocs: bring back pname+version, allow script to be executed from anywhere

This commit is contained in:
Sandro Jäckel
2022-09-23 18:43:50 +02:00
parent 913b37909b
commit dfc6e194bc
12 changed files with 35 additions and 11 deletions
@@ -3,7 +3,9 @@
{ stdenv, fetchurl, lib }:
stdenv.mkDerivation {
name = "python27-docs-text-2.7.18";
pname = "python27-docs-text";
version = "2.7.18";
src = fetchurl {
url = http://www.python.org/ftp/python/doc/2.7.18/python-2.7.18-docs-text.tar.bz2;
sha256 = "1wj7mxs52kp5lmn5mvv574sygkfnk00kbz9ya9c03yfq5dd5nvy8";