diff options
author | Felix Buehler <account@buehler.rocks> | 2021-10-30 19:14:14 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-11-25 12:37:40 +0100 |
commit | bb7d12745b9e2d7ee9c2356c89569ac53d45a50c (patch) | |
tree | 8c7ac42332e14a0b387b611ef07ff6db3c6c94dc | |
parent | 8889d3c9688709712050944bff0fa3e38b6072ae (diff) |
ocamlPackages.macaque: switch to fetchFromGitHub
-rw-r--r-- | pkgs/development/ocaml-modules/macaque/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/ocaml-modules/macaque/default.nix b/pkgs/development/ocaml-modules/macaque/default.nix index 7caf99f4b3916..a91e898227d6b 100644 --- a/pkgs/development/ocaml-modules/macaque/default.nix +++ b/pkgs/development/ocaml-modules/macaque/default.nix @@ -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 ]; |