depot/third_party/nixpkgs/pkgs/development/ocaml-modules/genspio/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03: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 ];
};
}