2015-04-19 07:13:56 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2015-03-12 01:20:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "hiredis";
|
2020-09-23 23:09:12 +00:00
|
|
|
version = "1.0.0";
|
2015-03-12 01:20:29 +00:00
|
|
|
|
2015-04-19 07:13:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "redis";
|
|
|
|
repo = "hiredis";
|
|
|
|
rev = "v${version}";
|
2020-09-23 23:09:12 +00:00
|
|
|
sha256 = "01xnynm9d56a0alb5wxbfayakybm5pnr12icj9mqkn4xxihbnbgr";
|
2015-03-12 01:20:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
PREFIX = "\${out}";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-22 16:51:52 +00:00
|
|
|
homepage = "https://github.com/redis/hiredis";
|
2015-03-12 01:20:29 +00:00
|
|
|
description = "Minimalistic C client for Redis >= 1.2";
|
2015-04-21 16:05:19 +00:00
|
|
|
license = licenses.bsd3;
|
2015-03-12 01:20:29 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|