mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
54 lines
815 B
Nix
54 lines
815 B
Nix
|
{ lib
|
||
|
, fetchFromGitLab
|
||
|
, buildDunePackage
|
||
|
, hex
|
||
|
, lwt
|
||
|
, zarith
|
||
|
, alcotest
|
||
|
, alcotest-lwt
|
||
|
, crowbar
|
||
|
, bigstring
|
||
|
, lwt_log
|
||
|
}:
|
||
|
|
||
|
buildDunePackage rec {
|
||
|
pname = "tezos-stdlib";
|
||
|
version = "8.3";
|
||
|
src = fetchFromGitLab {
|
||
|
owner = "tezos";
|
||
|
repo = "tezos";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "12cv2cssnw60jbpnh6xjysxgsgcj7d72454k4zs2b8fjx7mkgksk";
|
||
|
};
|
||
|
|
||
|
minimalOCamlVersion = "4.0.8";
|
||
|
|
||
|
useDune2 = true;
|
||
|
|
||
|
preBuild = ''
|
||
|
rm -rf vendors
|
||
|
'';
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
hex
|
||
|
lwt
|
||
|
zarith
|
||
|
];
|
||
|
|
||
|
checkInputs = [
|
||
|
alcotest
|
||
|
alcotest-lwt
|
||
|
crowbar
|
||
|
bigstring
|
||
|
lwt_log
|
||
|
];
|
||
|
|
||
|
doCheck = true;
|
||
|
|
||
|
meta = {
|
||
|
description = "Tezos: yet-another local-extension of the OCaml standard library";
|
||
|
license = lib.licenses.mit;
|
||
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
||
|
};
|
||
|
}
|