Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

ocaml-text: 0.7.1 -> 0.8

+7 -6
+7 -6
pkgs/development/ocaml-modules/ocaml-text/default.nix
··· 1 - {stdenv, fetchurl, libiconv, ocaml, findlib, ncurses}: 1 + { stdenv, fetchzip, libiconv, ocaml, findlib, ncurses }: 2 2 3 - stdenv.mkDerivation { 4 - name = "ocaml-text-0.7.1"; 3 + stdenv.mkDerivation rec { 4 + name = "ocaml-text-${version}"; 5 + version = "0.8"; 5 6 6 - src = fetchurl { 7 - url = "https://github.com/vbmithr/ocaml-text/archive/0.7.1.tar.gz"; 8 - sha256 = "0dn096q9gjfj7ibj237mb7lq0742a760zawka6i064qns727qwrg"; 7 + src = fetchzip { 8 + url = "https://github.com/vbmithr/ocaml-text/archive/${version}.tar.gz"; 9 + sha256 = "11jamdfn5s19a0yvl012q1xvdk1grkp4rkrn819imqrvdplqkn1y"; 9 10 }; 10 11 11 12 buildInputs = [ocaml findlib ncurses libiconv];