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 = "pythonMAJORMINOR-docs-TYPE-VERSION";
pname = "pythonMAJORMINOR-docs-TYPE";
version = "VERSION";
src = fetchurl {
url = URL;
sha256 = "SHA";