.files/nix/packages/by-name/necrolib/package.nix
Léana 江 ebf8468807
tree-wide: format with nixfmt
Another saturday another useless formatter change.
It's my dotfiles, after all

alejandra doesn't handle c-style inline comments well.
2025-11-08 10:15:58 +08:00

29 lines
572 B
Nix

{
fetchFromGitLab,
ocaml-ng,
ocamlPackages ? ocaml-ng.ocamlPackages_5_1,
}:
let
version = "v0.16.2";
in
ocamlPackages.buildDunePackage {
pname = "necrolib";
inherit version;
minimalOCamlVersion = "5.1.1";
src = fetchFromGitLab {
domain = "gitlab.inria.fr";
owner = "skeletons";
repo = "necro";
rev = version;
hash = "sha256-KoSKJD5jy+GY5QKKMUTW5gc0V/5l/klHrJMdC8aPnj8=";
};
duneVersion = "3";
nativeBuildInputs = [ ocamlPackages.menhir ];
buildInputs = [
ocamlPackages.ocamlgraph
ocamlPackages.dune-build-info
];
}