summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/ssl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/ssl/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/ssl/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/ssl/default.nix b/pkgs/development/ocaml-modules/ssl/default.nix
index 6eb43d07b686..e25b17fb6567 100644
--- a/pkgs/development/ocaml-modules/ssl/default.nix
+++ b/pkgs/development/ocaml-modules/ssl/default.nix
@@ -1,12 +1,8 @@
{stdenv, fetchurl, which, openssl, ocaml, findlib}:
-let
- ocaml_version = (builtins.parseDrvName ocaml.name).version;
- version = "0.5.2";
-in
-
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
name = "ocaml-ssl-${version}";
+ version = "0.5.2";
src = fetchurl {
url = "mirror://sourceforge/project/savonet/ocaml-ssl/0.5.2/ocaml-ssl-0.5.2.tar.gz";