diff options
author | Kirill Boltaev <aske@fmap.me> | 2016-10-05 11:32:30 +0400 |
---|---|---|
committer | vbgl <vbgl@users.noreply.github.com> | 2016-10-05 09:32:30 +0200 |
commit | 3e646865f4eb5216117dc49f3c9fb4a02ad2313b (patch) | |
tree | 9418314db159ba326550bf4af9df1e7aa9a75332 /pkgs/development/ocaml-modules/ulex | |
parent | 916364af72f15e7635387889d883b605948b1f1d (diff) | |
download | nixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.tar nixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.tar.gz nixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.tar.bz2 nixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.tar.lz nixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.tar.xz nixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.tar.zst nixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.zip |
treewide: use ocaml.version (#19192)
Diffstat (limited to 'pkgs/development/ocaml-modules/ulex')
-rw-r--r-- | pkgs/development/ocaml-modules/ulex/0.8/default.nix | 6 | ||||
-rw-r--r-- | pkgs/development/ocaml-modules/ulex/default.nix | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/development/ocaml-modules/ulex/0.8/default.nix b/pkgs/development/ocaml-modules/ulex/0.8/default.nix index eddc71aeace2..288e9a6933e7 100644 --- a/pkgs/development/ocaml-modules/ulex/0.8/default.nix +++ b/pkgs/development/ocaml-modules/ulex/0.8/default.nix @@ -1,14 +1,12 @@ {stdenv, fetchurl, ocaml, findlib, camlp5 }: let - ocaml_version = (builtins.parseDrvName ocaml.name).version; - version = "0.8"; pname = "ulex"; - in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "${pname}-${version}"; + version = "0.8"; src = fetchurl { url = "http://www.cduce.org/download/old/${pname}-${version}.tar.gz"; diff --git a/pkgs/development/ocaml-modules/ulex/default.nix b/pkgs/development/ocaml-modules/ulex/default.nix index 1e0632387e31..a5b9349cbe08 100644 --- a/pkgs/development/ocaml-modules/ulex/default.nix +++ b/pkgs/development/ocaml-modules/ulex/default.nix @@ -1,14 +1,12 @@ { stdenv, fetchurl, ocaml, findlib, camlp4 }: let - ocaml_version = (builtins.parseDrvName ocaml.name).version; - version = "1.1"; pname = "ulex"; - in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "${pname}-${version}"; + version = "1.1"; src = fetchurl { url = "http://www.cduce.org/download/${pname}-${version}.tar.gz"; |