mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
38 lines
692 B
Nix
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 = [ ];
|
|
};
|
|
})
|