treewide: name -> pname (easy cases) (#66585)

treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
This commit is contained in:
volth
2019-08-15 13:41:18 +01:00
committed by Jörg Thalheim
parent cff9e6429a
commit 46420bbaa3
4616 changed files with 5674 additions and 6081 deletions
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
name = "js_of_ocaml-${version}";
pname = "js_of_ocaml";
inherit (js_of_ocaml-compiler) version src installPhase meta;
@@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
version = "3.2.1";
name = "js_of_ocaml-camlp4-${version}";
pname = "js_of_ocaml-camlp4";
src = fetchFromGitHub {
owner = "ocsigen";
@@ -7,7 +7,7 @@ then throw "js_of_ocaml-compiler is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
name = "js_of_ocaml-compiler-${version}";
pname = "js_of_ocaml-compiler";
version = "3.3.0";
src = fetchFromGitHub {
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
name = "js_of_ocaml-lwt-${version}";
pname = "js_of_ocaml-lwt";
inherit (js_of_ocaml-compiler) version src installPhase meta;
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
name = "js_of_ocaml-ocamlbuild-${version}";
pname = "js_of_ocaml-ocamlbuild";
inherit (js_of_ocaml-compiler) version src installPhase meta;
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
name = "js_of_ocaml-ppx-${version}";
pname = "js_of_ocaml-ppx";
inherit (js_of_ocaml-compiler) version src installPhase meta;
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
name = "js_of_ocaml-ppx_deriving_json-${version}";
pname = "js_of_ocaml-ppx_deriving_json";
inherit (js_of_ocaml-compiler) version src installPhase meta;
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
name = "js_of_ocaml-tyxml-${version}";
pname = "js_of_ocaml-tyxml";
inherit (js_of_ocaml-compiler) version src installPhase meta;