mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
ocamlPackages.macaque: switch to fetchFromGitHub
This commit is contained in:
parent
8889d3c968
commit
bb7d12745b
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user