3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/ligo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

66 lines
1.3 KiB
Nix
Raw Normal View History

2021-09-21 10:11:20 +01:00
{ lib
, fetchFromGitLab
, coq
, cacert
}:
coq.ocamlPackages.buildDunePackage rec {
pname = "ligo";
version = "0.34.0";
2021-09-21 10:11:20 +01:00
src = fetchFromGitLab {
owner = "ligolang";
repo = "ligo";
2021-10-22 09:54:19 +01:00
rev = version;
sha256 = "sha256-MHkIr+XkW/zrRt+Cg48q4fOWTkNGH0hbf+oU7cAivNE=";
2021-09-21 10:11:20 +01:00
};
# The build picks this up for ligo --version
2021-10-22 09:54:19 +01:00
LIGO_VERSION = version;
2021-09-21 10:11:20 +01:00
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-011-PtHangz2-test-helpers
2021-09-21 10:11:20 +01:00
tezos-protocol-010-PtGRANAD-parameters
tezos-protocol-010-PtGRANAD
tezos-protocol-environment
yojson
getopt
terminal_size
pprint
linenoise
data-encoding
bisect_ppx
cmdliner
core
ocaml-recovery-parser
2021-09-21 10:11:20 +01:00
];
checkInputs = [
cacert
coq.ocamlPackages.ca-certs
];
doCheck = false; # Tests fail, but could not determine the reason
2021-09-21 10:11:20 +01:00
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 ];
};
}