gapi-ocaml: 0.3.1 -> 0.3.4

This commit is contained in:
Benno Fünfstück 2017-07-12 10:16:45 +02:00
parent 387256c0f2
commit 02a268430e

View File

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