nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 22 lines 610 B view raw
1{ lib, fetchurl, buildDunePackage }: 2 3buildDunePackage rec { 4 pname = "opti"; 5 version = "1.0.3"; 6 7 useDune2 = true; 8 9 minimumOCamlVersion = "4.02"; 10 11 src = fetchurl { 12 url = "https://github.com/magnusjonsson/opti/releases/download/${version}/opti-${version}.tbz"; 13 sha256 = "ed9ba56dc06e9d2b1bf097964cc65ea37db787d4f239c13d0dd74693f5b50a1e"; 14 }; 15 16 meta = with lib; { 17 description = "DSL to generate fast incremental C code from declarative specifications"; 18 license = licenses.bsd3; 19 maintainers = [ maintainers.jmagnusj ]; 20 homepage = "https://github.com/magnusjonsson/opti"; 21 }; 22}