Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5 base, 6 fmt, 7}: 8 9buildDunePackage rec { 10 pname = "genspio"; 11 version = "0.0.3"; 12 13 duneVersion = "3"; 14 15 src = fetchFromGitHub { 16 owner = "hammerlab"; 17 repo = pname; 18 rev = "${pname}.${version}"; 19 sha256 = "sha256:1788cnn10idp5i1hggg4pys7k0w8m3h2p4xa42jipfg4cpj7shaf"; 20 }; 21 22 propagatedBuildInputs = [ 23 base 24 fmt 25 ]; 26 27 # base v0.17 compatibility 28 patches = [ ./genspio.patch ]; 29 30 doCheck = true; 31 32 meta = with lib; { 33 homepage = "https://smondet.gitlab.io/genspio-doc/"; 34 description = "Typed EDSL to generate POSIX Shell scripts"; 35 license = licenses.asl20; 36 maintainers = [ maintainers.alexfmpe ]; 37 }; 38}