pkgs/development: rename name to pname&version

This commit is contained in:
Felix Buehler
2021-11-30 21:32:28 +01:00
parent 3ccc568631
commit 7678aa30b4
50 changed files with 191 additions and 129 deletions
@@ -2,10 +2,12 @@
{ stdenv, fetchurl, lib }:
stdenv.mkDerivation {
name = "python27-docs-text-2.7.16";
stdenv.mkDerivation rec {
pname = "python27-docs-text";
version = "2.7.16";
src = fetchurl {
url = "http://docs.python.org/ftp/python/doc/2.7.16/python-2.7.16-docs-text.tar.bz2";
url = "http://docs.python.org/ftp/python/doc/${version}/python-${version}-docs-text.tar.bz2";
sha256 = "1da7swlykvc013684nywycinfz3v8dqkcmv0zj8p7l5lyi5mq03r";
};
installPhase = ''