summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/type_conv/108.08.00.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/type_conv/108.08.00.nix')
-rw-r--r--pkgs/development/ocaml-modules/type_conv/108.08.00.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/type_conv/108.08.00.nix b/pkgs/development/ocaml-modules/type_conv/108.08.00.nix
index 72e4fcbb35f1f..e0c852a9baa45 100644
--- a/pkgs/development/ocaml-modules/type_conv/108.08.00.nix
+++ b/pkgs/development/ocaml-modules/type_conv/108.08.00.nix
@@ -4,11 +4,12 @@ if !lib.versionAtLeast ocaml.version "3.12"
 || lib.versionAtLeast ocaml.version "4.03"
 then throw "type_conv-108.08.00 is not available for OCaml ${ocaml.version}" else
 
-stdenv.mkDerivation {
-  name = "ocaml-type_conv-108.08.00";
+stdenv.mkDerivation rec {
+  pname = "ocaml-type_conv";
+  version = "108.08.00";
 
   src = fetchurl {
-    url = "https://ocaml.janestreet.com/ocaml-core/108.08.00/individual/type_conv-108.08.00.tar.gz";
+    url = "https://ocaml.janestreet.com/ocaml-core/${version}/individual/type_conv-${version}.tar.gz";
     sha256 = "08ysikwwp69zvc147lzzg79nwlrzrk738rj0ggcfadi8h5il42sl";
   };