ligo: init at 0.26

This commit is contained in:
Ulrik Strid 2021-09-21 09:11:20 +00:00 committed by Vincent Laporte
parent e673b894c5
commit cbf28fa8c4
2 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,62 @@
{ lib
, fetchFromGitLab
, coq
, cacert
}:
coq.ocamlPackages.buildDunePackage rec {
pname = "ligo";
version = "0.26.0";
src = fetchFromGitLab {
owner = "ligolang";
repo = "ligo";
rev = "d48098c6724bc0a62170c2f9ff73c792c71c8452";
sha256 = "sha256-uu5985llYsi/9ExKZetk48FqU0sJQB1EirdT/pUw0DA=";
};
# The build picks this up for ligo --version
LIGO_VERSION=version;
useDune2 = true;
buildInputs = with coq.ocamlPackages; [
coq
menhir
menhirLib
qcheck
ocamlgraph
ppx_deriving
ppx_deriving_yojson
ppx_expect
tezos-base
tezos-shell-services
tezos-010-PtGRANAD-test-helpers
tezos-protocol-010-PtGRANAD-parameters
tezos-protocol-010-PtGRANAD
tezos-protocol-environment
yojson
getopt
terminal_size
pprint
linenoise
data-encoding
bisect_ppx
cmdliner
];
checkInputs = [
cacert
coq.ocamlPackages.ca-certs
];
doCheck = true;
meta = with lib; {
homepage = "https://ligolang.org/";
downloadPage = "https://ligolang.org/docs/intro/installation";
description = "A friendly Smart Contract Language for Tezos";
license = licenses.mit;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ ulrikstrid ];
};
}

View File

@ -6657,6 +6657,8 @@ with pkgs;
ldc = callPackage ../development/compilers/ldc { };
ligo = callPackage ../development/compilers/ligo { };
ldgallery = callPackage ../tools/graphics/ldgallery {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};