{% set name = "redis" %}
{% set version = "6.2.5" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/redis/redis/archive/refs/tags/{{ version }}.tar.gz
  sha256: 5d823000841e32e401d82f7381b3d7a4da0dda03366307c24ef29a2e3ff8830d
  patches:
    - patches/force_c11.patch  # [osx]

build:
  skip: True  # [win]
  number: 0

requirements:
  build:
    - {{ compiler('c') }}
    - make
  host:
    - openssl
  run:
    - openssl

test:
  commands:
    - redis-cli --version
    - redis-server --version

about:
  home: https://redis.io/
  license: BSD-3-Clause
  license_family: BSD
  license_file: COPYING
  summary: 'Advanced key-value cache and store'
  description: |
    Redis is an in-memory database that persists on disk. The data model
    is key-value, but many different kind of values are supported: Strings,
    Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
  doc_url: https://redis.io/
  dev_url: https://github.com/redis/redis

extra:
  recipe-maintainers:
    - SimonBoothroyd

{% set name = "redis" %}
{% set version = "6.2.5" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/redis/redis/archive/refs/tags/{{ version }}.tar.gz
  sha256: 5d823000841e32e401d82f7381b3d7a4da0dda03366307c24ef29a2e3ff8830d
  patches:
    - patches/force_c11.patch  # [osx]

build:
  skip: True  # [win]
  number: 0

requirements:
  build:
    - {{ compiler('c') }}
    - make
  host:
    - openssl
  run:
    - openssl

test:
  commands:
    - redis-cli --version
    - redis-server --version

about:
  home: https://redis.io/
  license: BSD-3-Clause
  license_family: BSD
  license_file: COPYING
  summary: 'Advanced key-value cache and store'
  description: |
    Redis is an in-memory database that persists on disk. The data model
    is key-value, but many different kind of values are supported: Strings,
    Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
  doc_url: https://redis.io/
  dev_url: https://github.com/redis/redis

extra:
  feedstock-name: redis-server
  recipe-maintainers:
    - SimonBoothroyd

Use a unique feedstock name
Use a unique feedstock name
