1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

oasis: fix typo

The URL uses the filename of 0.4.6 in the 0.4.7 package.
The package still works currently and provides 0.4.7, because ocamlforge
dispatches entirely based on the number before that, the filename is just
sugar.
This commit is contained in:
Matthew Maurer 2016-09-26 17:30:06 -04:00
parent 2af7051197
commit 047f105bd1

View file

@ -1,11 +1,14 @@
{stdenv, fetchurl, ocaml, findlib, ocaml_data_notation, type_conv, camlp4,
ocamlmod, ocamlify, ounit, expect}:
stdenv.mkDerivation {
name = "ocaml-oasis-0.4.7";
stdenv.mkDerivation rec {
version = "0.4.7";
name = "ocaml-oasis-${version}";
# You must manually update the url, not just the version. OCamlforge keys off
# the number after download.php, not the filename.
src = fetchurl {
url = http://forge.ocamlcore.org/frs/download.php/1635/oasis-0.4.6.tar.gz;
url = "http://forge.ocamlcore.org/frs/download.php/1635/oasis-${version}.tar.gz";
sha256 = "13crvqiy0hhlnm4qfyxq2jjvs11ldxf15c4g9q91k1x3wj04pg2l";
};