diff --git a/recipes/lightbug_http/image.jpeg b/recipes/lightbug_http/image.jpeg new file mode 100644 index 00000000..da447076 Binary files /dev/null and b/recipes/lightbug_http/image.jpeg differ diff --git a/recipes/lightbug_http/recipe.yaml b/recipes/lightbug_http/recipe.yaml new file mode 100644 index 00000000..a625b546 --- /dev/null +++ b/recipes/lightbug_http/recipe.yaml @@ -0,0 +1,56 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json + +context: + version: "0.1.19" + +package: + name: "lightbug_http" + version: ${{ version }} + +source: + - git: https://github.com/saviorand/lightbug_http.git + rev: 4487b71ccbcfd30ace2db5d6ed975f94509e5a24 + +build: + number: 0 + script: + - mkdir -p ${PREFIX}/lib/mojo + - mojo package lightbug_http -o ${{ PREFIX }}/lib/mojo/lightbug_http.mojopkg + +requirements: + host: + - max =25.2 + run: + - ${{ pin_compatible('max') }} + +tests: + - script: + - if: unix + then: + - mojo test + requirements: + run: + - max =25.2 + files: + recipe: + - tests/lightbug_http/io/test_bytes.mojo + - tests/lightbug_http/test_client.mojo + - tests/lightbug_http/test_cookie.mojo + - tests/lightbug_http/test_header.mojo + - tests/lightbug_http/test_http.mojo + - tests/lightbug_http/test_net.mojo + - tests/lightbug_http/test_uri.mojo + +about: + homepage: https://lightbug.site + license: MIT + license_file: LICENSE + summary: Lightbug is a simple and sweet HTTP framework for Mojo + repository: https://github.com/saviorand/lightbug_http + +extra: + maintainers: + - saviorand + - bgreni + - thatstoasty + project_name: lightbug_http