01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
22 lines
494 B
Nix
22 lines
494 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hiredis";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "redis";
|
|
repo = "hiredis";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-0ESRnZTL6/vMpek+2sb0YQU3ajXtzj14yvjfOSQYjf4=";
|
|
};
|
|
|
|
PREFIX = "\${out}";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/redis/hiredis";
|
|
description = "Minimalistic C client for Redis >= 1.2";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|