summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/calendar')
-rw-r--r--pkgs/development/ocaml-modules/calendar/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/calendar/default.nix b/pkgs/development/ocaml-modules/calendar/default.nix
index 1210ed41dc2bc..a56dee3648ba9 100644
--- a/pkgs/development/ocaml-modules/calendar/default.nix
+++ b/pkgs/development/ocaml-modules/calendar/default.nix
@@ -1,9 +1,11 @@
 {stdenv, lib, fetchurl, ocaml, findlib}:
 
-stdenv.mkDerivation {
-  name = "ocaml-calendar-2.5";
+stdenv.mkDerivation rec {
+  pname = "ocaml-calendar";
+  version = "2.5";
+
   src = fetchurl {
-    url = "https://forge.ocamlcore.org/frs/download.php/915/calendar-2.5.tar.bz2";
+    url = "https://forge.ocamlcore.org/frs/download.php/915/calendar-${version}.tar.bz2";
     sha256 = "04pvhwb664g3s644c7v7419a3kvf5s3pynkhmk5j59dvlfm1yf0f";
     };