Skip to content

Commit 02a2684

Browse files
committedJul 12, 2017
gapi-ocaml: 0.3.1 -> 0.3.4
1 parent 387256c commit 02a2684

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed
 

‎pkgs/development/ocaml-modules/gapi-ocaml/default.nix

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm }:
1+
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm }:
22

33
stdenv.mkDerivation rec {
4-
name = "gapi-ocaml-0.3.1";
5-
src = fetchurl {
6-
url = "https://forge.ocamlcore.org/frs/download.php/1665/${name}.tar.gz";
7-
sha256 = "1fn563k9mpqp61909l5bzddnkyn04bk106vrcr7qiim1d2i6cf8i";
4+
name = "gapi-ocaml-${version}";
5+
version = "0.3.4";
6+
src = fetchFromGitHub {
7+
owner = "astrada";
8+
repo = "gapi-ocaml";
9+
rev = "v${version}";
10+
sha256 = "07p6p108fyf9xz54jbcld40k3r9zyybxmr5i3rrkhgwm8gb6sbhv";
811
};
912
buildInputs = [ ocaml findlib ocamlbuild ];
1013
propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib yojson ocamlnet xmlm ];

0 commit comments

Comments
 (0)
Please sign in to comment.