Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions recipes/celq/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
context:
version: "0.2.0"

package:
name: celq
version: ${{ version }}

source:
url: https://github.com/IvanIsCoding/celq/archive/v${{ version }}.tar.gz
sha256: f1430faa5781dcc0a2ae1954d945e36334b189120a9bec6568226b43690f8bd8

build:
number: 0
script:
env:
CARGO_PROFILE_RELEASE_STRIP: symbols
CARGO_PROFILE_RELEASE_LTO: fat
content:
- if: unix
then:
- cargo install --locked --no-track --bins --root ${{ PREFIX }} --path .
else:
- cargo install --locked --no-track --bins --root %LIBRARY_PREFIX% --path .
- cargo-bundle-licenses --format yaml --output ./THIRDPARTY.yml

requirements:
build:
- ${{ compiler('rust') }}
- ${{ compiler('c') }}
- ${{ stdlib('c') }}
- cargo-bundle-licenses

tests:
- script:
- celq -n -b --void "1 > 0"

about:
license: MIT
license_file:
- LICENSE-MIT
- THIRDPARTY.yml
summary: A CEL command-line query tool for JSON data
homepage: https://github.com/IvanIsCoding/celq
repository: https://github.com/IvanIsCoding/celq
documentation: https://docs.rs/celq/latest/celq/

extra:
recipe-maintainers:
- IvanIsCoding