treewide: rename name to pname&version
This commit is contained in:
parent
5e4ac423de
commit
12f343da4c
|
@ -13,8 +13,8 @@ let param =
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
pname = "ocaml${ocaml.version}-functory";
|
||||||
name = "ocaml${ocaml.version}-functory-${param.version}";
|
inherit (param) version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.lri.fr/~filliatr/functory/download/functory-${param.version}.tar.gz";
|
url = "https://www.lri.fr/~filliatr/functory/download/functory-${param.version}.tar.gz";
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.3";
|
version = "2.3";
|
||||||
name = "ocaml${ocaml.version}-inotify-${version}";
|
pname = "ocaml${ocaml.version}-inotify";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "whitequark";
|
owner = "whitequark";
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, uutf }:
|
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, uutf }:
|
||||||
|
|
||||||
let version = "1.0.1"; in
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "ocaml${ocaml.version}-jsonm";
|
||||||
stdenv.mkDerivation {
|
version = "1.0.1";
|
||||||
name = "ocaml${ocaml.version}-jsonm-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://erratique.ch/software/jsonm/releases/jsonm-${version}.tbz";
|
url = "https://erratique.ch/software/jsonm/releases/jsonm-${version}.tbz";
|
||||||
|
|
|
@ -7,7 +7,7 @@ else
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.6";
|
version = "1.6";
|
||||||
name = "ocaml${ocaml.version}-lablgtk-extras-${version}";
|
pname = "ocaml${ocaml.version}-lablgtk-extras";
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "framagit.org";
|
domain = "framagit.org";
|
||||||
owner = "zoggy";
|
owner = "zoggy";
|
||||||
|
|
|
@ -49,7 +49,7 @@ in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
inherit (param) version src;
|
inherit (param) version src;
|
||||||
name = "ocaml${ocaml.version}-labltk-${version}";
|
pname = "ocaml${ocaml.version}-labltk";
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib tcl tk makeWrapper ];
|
buildInputs = [ ocaml findlib tcl tk makeWrapper ];
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.0.1";
|
version = "1.0.1";
|
||||||
name = "ocaml${ocaml.version}-lwt_react-${version}";
|
pname = "ocaml${ocaml.version}-lwt_react";
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/ocsigen/lwt/releases/download/3.0.0/lwt_react-1.0.1.tar.gz";
|
url = "https://github.com/ocsigen/lwt/releases/download/3.0.0/lwt_react-${version}.tar.gz";
|
||||||
sha256 = "1bbz7brvdskf4angzn3q2s2s6qdnx7x8m8syayysh23gwv4c7v31";
|
sha256 = "1bbz7brvdskf4angzn3q2s2s6qdnx7x8m8syayysh23gwv4c7v31";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, perl, ocaml, findlib, camlidl, gmp, mpfr }:
|
{ stdenv, lib, fetchFromGitHub, perl, ocaml, findlib, camlidl, gmp, mpfr }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-mlgmpidl-${version}";
|
pname = "ocaml${ocaml.version}-mlgmpidl";
|
||||||
version = "1.2.12";
|
version = "1.2.12";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nberth";
|
owner = "nberth";
|
||||||
|
|
|
@ -16,7 +16,8 @@ let param =
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ocaml${ocaml.version}-mtime-${param.version}";
|
pname = "ocaml${ocaml.version}-mtime";
|
||||||
|
inherit (param) version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://erratique.ch/software/mtime/releases/mtime-${param.version}.tbz";
|
url = "https://erratique.ch/software/mtime/releases/mtime-${param.version}.tbz";
|
||||||
|
|
|
@ -20,7 +20,7 @@ then throw "nocrypto is not available for OCaml ${ocaml.version}"
|
||||||
else
|
else
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-nocrypto-${version}";
|
pname = "ocaml${ocaml.version}-nocrypto";
|
||||||
version = "0.5.4";
|
version = "0.5.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
|
|
@ -12,7 +12,7 @@ let withLwt = lwt != null; in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.2.2";
|
version = "0.2.2";
|
||||||
name = "ocaml${ocaml.version}-notty-${version}";
|
pname = "ocaml${ocaml.version}-notty";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/pqwy/notty/releases/download/v${version}/notty-${version}.tbz";
|
url = "https://github.com/pqwy/notty/releases/download/v${version}/notty-${version}.tbz";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.1";
|
version = "1.1";
|
||||||
name = "ocaml${ocaml.version}-num-${version}";
|
pname = "ocaml${ocaml.version}-num";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ocaml";
|
owner = "ocaml";
|
||||||
repo = "num";
|
repo = "num";
|
||||||
|
|
|
@ -7,7 +7,7 @@ then throw "ocamlnet is not available for OCaml ${ocaml.version}"
|
||||||
else
|
else
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-ocamlnet-${version}";
|
pname = "ocaml${ocaml.version}-ocamlnet";
|
||||||
version = "4.1.9";
|
version = "4.1.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
|
|
@ -5,7 +5,7 @@ then throw "ocp-ocamlres is not available for OCaml ${ocaml.version}"
|
||||||
else
|
else
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-ocp-ocamlres-${version}";
|
pname = "ocaml${ocaml.version}-ocp-ocamlres";
|
||||||
version = "0.4";
|
version = "0.4";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "OCamlPro";
|
owner = "OCamlPro";
|
||||||
|
|
|
@ -13,8 +13,8 @@ let param =
|
||||||
}; in
|
}; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
inherit (param) version;
|
||||||
name = "ocaml${ocaml.version}-pprint-${param.version}";
|
pname = "ocaml${ocaml.version}-pprint";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://gallium.inria.fr/~fpottier/pprint/pprint-${param.version}.tar.gz";
|
url = "http://gallium.inria.fr/~fpottier/pprint/pprint-${param.version}.tar.gz";
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
|
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-process-${version}";
|
pname = "ocaml${ocaml.version}-process";
|
||||||
version = "0.2.1";
|
version = "0.2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.8.5";
|
version = "0.8.5";
|
||||||
name = "ocaml${ocaml.version}-ptime-${version}";
|
pname = "ocaml${ocaml.version}-ptime";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://erratique.ch/software/ptime/releases/ptime-${version}.tbz";
|
url = "https://erratique.ch/software/ptime/releases/ptime-${version}.tbz";
|
||||||
|
|
|
@ -23,7 +23,8 @@ let param =
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation ({
|
stdenv.mkDerivation ({
|
||||||
name = "ocaml${ocaml.version}-rope-${param.version}";
|
pname = "ocaml${ocaml.version}-rope";
|
||||||
|
inherit (param) version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
inherit (param) url sha256;
|
inherit (param) url sha256;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
|
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-rresult-${version}";
|
pname = "ocaml${ocaml.version}-rresult";
|
||||||
version = "0.6.0";
|
version = "0.6.0";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://erratique.ch/software/rresult/releases/rresult-${version}.tbz";
|
url = "https://erratique.ch/software/rresult/releases/rresult-${version}.tbz";
|
||||||
|
|
|
@ -7,7 +7,7 @@ then throw "sosa is not available for OCaml ${ocaml.version}"
|
||||||
else
|
else
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-sosa-${version}";
|
pname = "ocaml${ocaml.version}-sosa";
|
||||||
version = "0.3.0";
|
version = "0.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
@ -27,7 +27,7 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-topkg-${version}";
|
pname = "ocaml${ocaml.version}-topkg";
|
||||||
inherit (param) version;
|
inherit (param) version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
|
|
@ -5,7 +5,7 @@ then throw "wasm is not available for OCaml ${ocaml.version}"
|
||||||
else
|
else
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-wasm-${version}";
|
pname = "ocaml${ocaml.version}-wasm";
|
||||||
version = "1.1.1";
|
version = "1.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
Loading…
Reference in a new issue