tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
ocaml-text: 0.7.1 -> 0.8
Vincent Laporte
9 years ago
d06dfe86
33c2134b
+7
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
ocaml-text
default.nix
+7
-6
pkgs/development/ocaml-modules/ocaml-text/default.nix
···
1
1
-
{stdenv, fetchurl, libiconv, ocaml, findlib, ncurses}:
1
1
+
{ stdenv, fetchzip, libiconv, ocaml, findlib, ncurses }:
2
2
3
3
-
stdenv.mkDerivation {
4
4
-
name = "ocaml-text-0.7.1";
3
3
+
stdenv.mkDerivation rec {
4
4
+
name = "ocaml-text-${version}";
5
5
+
version = "0.8";
5
6
6
6
-
src = fetchurl {
7
7
-
url = "https://github.com/vbmithr/ocaml-text/archive/0.7.1.tar.gz";
8
8
-
sha256 = "0dn096q9gjfj7ibj237mb7lq0742a760zawka6i064qns727qwrg";
7
7
+
src = fetchzip {
8
8
+
url = "https://github.com/vbmithr/ocaml-text/archive/${version}.tar.gz";
9
9
+
sha256 = "11jamdfn5s19a0yvl012q1xvdk1grkp4rkrn819imqrvdplqkn1y";
9
10
};
10
11
11
12
buildInputs = [ocaml findlib ncurses libiconv];