ocamlPackages.macaque: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-10-30 19:14:14 +02:00
parent 8889d3c968
commit bb7d12745b

View File

@ -1,12 +1,14 @@
{ lib, stdenv, fetchzip, ocaml, findlib, ocamlbuild, pgocaml, camlp4 }:
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, pgocaml, camlp4 }:
stdenv.mkDerivation rec {
pname = "ocaml-macaque";
version = "0.7.2";
src = fetchzip {
url = "https://github.com/ocsigen/macaque/archive/${version}.tar.gz";
sha256 = "14i0a8cndzndjmlkyhf31r451q99cnkndgxcj0id4qjqhdl4bmjv";
src = fetchFromGitHub {
owner = "ocsigen";
repo = "macaque";
rev = version;
sha256 = "sha256-W9ZFaINYYtIikKy/ZqdlKeFQSA7DQT9plc3+ZhlSIJI=";
};
buildInputs = [ ocaml findlib ocamlbuild camlp4 ];