depot/pkgs/development/ocaml-modules/genspio/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

31 lines
675 B
Nix

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