nixpkgs/pkgs/development/ocaml-modules/genspio/default.nix
2026-05-12 13:36:26 -05:00

38 lines
692 B
Nix

{
lib,
fetchFromGitHub,
buildDunePackage,
base,
fmt,
}:
buildDunePackage (finalAttrs: {
pname = "genspio";
version = "0.0.3";
duneVersion = "3";
src = fetchFromGitHub {
owner = "hammerlab";
repo = "genspio";
rev = "genspio.${finalAttrs.version}";
sha256 = "sha256:1788cnn10idp5i1hggg4pys7k0w8m3h2p4xa42jipfg4cpj7shaf";
};
propagatedBuildInputs = [
base
fmt
];
# base v0.17 compatibility
patches = [ ./genspio.patch ];
doCheck = true;
meta = {
homepage = "https://smondet.gitlab.io/genspio-doc/";
description = "Typed EDSL to generate POSIX Shell scripts";
license = lib.licenses.asl20;
maintainers = [ ];
};
})