Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
695 B
Nix
39 lines
695 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 ];
|
|
};
|
|
}
|