Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 31 lines 686 B view raw
1{ 2 buildDunePackage, 3 fetchurl, 4 lib, 5 ppxlib, 6}: 7 8let 9 version = "0.15.0"; 10in 11buildDunePackage { 12 pname = "reason-react-ppx"; 13 inherit version; 14 minimalOCamlVersion = "4.14"; 15 src = fetchurl { 16 url = "https://github.com/reasonml/reason-react/releases/download/${version}/reason-react-${version}.tbz"; 17 hash = "sha256-+pPJo/b50vp4pAC/ygI1LHB5O0pDJ1xpcQZOdFP8Q80="; 18 }; 19 buildInputs = [ 20 ppxlib 21 ]; 22 doCheck = false; # Needs to run in reason-react, see default.nix 23 meta = { 24 description = "React.js JSX PPX"; 25 homepage = "https://github.com/reasonml/reason-react"; 26 license = lib.licenses.mit; 27 maintainers = [ 28 lib.maintainers.vog 29 ]; 30 }; 31}