nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 28 lines 678 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 ppxlib, 6}: 7 8buildDunePackage rec { 9 pname = "ppx_gen_rec"; 10 version = "2.0.0"; 11 12 src = fetchurl { 13 url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz"; 14 sha256 = "sha256-/mMj5UT22KQGVy1sjgEoOgPzyCYyeDPtWJYNDvQ9nlk="; 15 }; 16 17 minimalOCamlVersion = "4.07"; 18 duneVersion = "3"; 19 20 buildInputs = [ ppxlib ]; 21 22 meta = { 23 homepage = "https://github.com/flowtype/ocaml-ppx_gen_rec"; 24 description = "Ppx rewriter that transforms a recursive module expression into a struct"; 25 license = lib.licenses.mit; 26 maintainers = with lib.maintainers; [ frontsideair ]; 27 }; 28}