mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
Fix nix build for #306
This commit is contained in:
parent
01e333b833
commit
844f2dfbba
@ -7,6 +7,7 @@
|
||||
, calendar
|
||||
, cmdliner_1_1_0
|
||||
, cppo
|
||||
, dates_calc
|
||||
, fetchFromGitHub
|
||||
, js_of_ocaml
|
||||
, js_of_ocaml-ppx
|
||||
@ -43,6 +44,7 @@ buildDunePackage rec {
|
||||
bindlib
|
||||
cmdliner_1_1_0
|
||||
cppo
|
||||
dates_calc
|
||||
js_of_ocaml
|
||||
js_of_ocaml-ppx
|
||||
menhir
|
||||
|
16
.nix/dates_calc.nix
Normal file
16
.nix/dates_calc.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ lib, fetchurl, buildDunePackage }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "dates_calc";
|
||||
version = "0.0.4";
|
||||
|
||||
minimumOCamlVersion = "4.11.0";
|
||||
|
||||
duneVersion = "2";
|
||||
|
||||
src = fetchurl
|
||||
{
|
||||
url = "https://github.com/CatalaLang/dates-calc/archive/${version}.tar.gz";
|
||||
sha256 = "sha256-lWhNBK50r3qhY3PXRHZVvqDee6Y4+3vC51ZfjLxGryg=";
|
||||
};
|
||||
}
|
@ -28,4 +28,5 @@ ocamlPackages.overrideScope' (self: super: {
|
||||
clerk = self.callPackage ./clerk.nix { };
|
||||
ppx_yojson_conv = self.callPackage ./ppx_yojson_conv.nix { };
|
||||
ubase = self.callPackage ./ubase.nix { };
|
||||
dates_calc = self.callPackage ./dates_calc.nix { };
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user