mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
27 lines
554 B
Nix
27 lines
554 B
Nix
{ lib, stdenv, fetchFromGitHub, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hiredis";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "redis";
|
|
repo = "hiredis";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ZxUITm3OcbERcvaNqGQU46bEfV+jN6safPalG0TVfBg=";
|
|
};
|
|
|
|
buildInputs = [
|
|
openssl
|
|
];
|
|
|
|
PREFIX = "\${out}";
|
|
USE_SSL = 1;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/redis/hiredis";
|
|
description = "Minimalistic C client for Redis >= 1.2";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|