diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/optcomp')
-rw-r--r-- | pkgs/development/ocaml-modules/optcomp/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/optcomp/default.nix b/pkgs/development/ocaml-modules/optcomp/default.nix index b78d070962e79..5d2cffa702466 100644 --- a/pkgs/development/ocaml-modules/optcomp/default.nix +++ b/pkgs/development/ocaml-modules/optcomp/default.nix @@ -1,9 +1,11 @@ { stdenv, lib, fetchurl, fetchpatch, ocaml, findlib, ocamlbuild, camlp4 }: -stdenv.mkDerivation { - name = "ocaml-optcomp-1.6"; +stdenv.mkDerivation rec { + pname = "ocaml-optcomp"; + version = "1.6"; + src = fetchurl { - url = "https://github.com/diml/optcomp/archive/1.6.tar.gz"; + url = "https://github.com/diml/optcomp/archive/${version}.tar.gz"; sha256 = "0hhhb2gisah1h22zlg5iszbgqxdd7x85cwd57bd4mfkx9l7dh8jh"; }; |