2020-09-25 04:45:31 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
2022-06-16 17:23:12 +00:00
|
|
|
, base, fmt
|
2020-09-25 04:45:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "genspio";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "0.0.3";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
duneVersion = "3";
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hammerlab";
|
|
|
|
repo = pname;
|
|
|
|
rev = "${pname}.${version}";
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256:1788cnn10idp5i1hggg4pys7k0w8m3h2p4xa42jipfg4cpj7shaf";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
propagatedBuildInputs = [ base fmt ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
# base v0.17 compatibility
|
|
|
|
patches = [ ./genspio.patch ];
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-12-06 16:07:01 +00:00
|
|
|
homepage = "https://smondet.gitlab.io/genspio-doc/";
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "Typed EDSL to generate POSIX Shell scripts";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.alexfmpe ];
|
|
|
|
};
|
|
|
|
}
|