summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/reactivedata
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/reactivedata')
-rw-r--r--pkgs/development/ocaml-modules/reactivedata/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/reactivedata/default.nix b/pkgs/development/ocaml-modules/reactivedata/default.nix
index 899547a937be2..a47568c32bc03 100644
--- a/pkgs/development/ocaml-modules/reactivedata/default.nix
+++ b/pkgs/development/ocaml-modules/reactivedata/default.nix
@@ -4,10 +4,12 @@ if !lib.versionAtLeast ocaml.version "4.04"
 then throw "reactiveData is not available for OCaml ${ocaml.version}"
 else
 
-stdenv.mkDerivation {
-  name = "ocaml${ocaml.version}-reactiveData-0.2.2";
+stdenv.mkDerivation rec {
+  pname = "ocaml${ocaml.version}-reactiveData";
+  version = "0.2.2";
+
   src = fetchurl {
-    url = "https://github.com/ocsigen/reactiveData/archive/0.2.2.tar.gz";
+    url = "https://github.com/ocsigen/reactiveData/archive/${version}.tar.gz";
     sha256 = "0jzagyp4zla28wykvcgqwd8df71ir0vb4s8akp02cfacd5v86sng";
   };