add ocamlPackages.xlog
This commit is contained in:
parent
93d7fa507b
commit
672960f642
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -12,6 +12,10 @@
|
|||
ghidra_headless = prev.ghidra.override {
|
||||
openjdk17 = prev.openjdk17_headless;
|
||||
};
|
||||
|
||||
ocamlPackages = prev.ocamlPackages.overrideScope' (ofinal: oprev: {
|
||||
xlog = ofinal.callPackage ./pkgs/ocaml/xlog {};
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
fetchgit,
|
||||
buildDunePackage,
|
||||
|
||||
ptime,
|
||||
ppxlib
|
||||
}:
|
||||
buildDunePackage rec {
|
||||
pname = "xlog";
|
||||
version = "0.0.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.lain.faith/haskal/xlog.git";
|
||||
rev = version;
|
||||
hash = "sha256-AS50sT4PJm/zk58R/yniGGG0sqdqZUePcVg0BI1CA4E=";
|
||||
};
|
||||
|
||||
minimalOcamlVersion = "5.1";
|
||||
dontStrip = true;
|
||||
|
||||
buildInputs = [ ppxlib ];
|
||||
propagatedBuildInputs = [ ptime ];
|
||||
}
|
Loading…
Reference in New Issue