2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2015-03-12 01:20:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "hiredis";
|
2021-11-14 08:54:27 +00:00
|
|
|
version = "1.0.2";
|
2015-03-12 01:20:29 +00:00
|
|
|
|
2015-04-19 08:13:56 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "redis";
|
|
|
|
repo = "hiredis";
|
|
|
|
rev = "v${version}";
|
2021-11-14 08:54:27 +00:00
|
|
|
sha256 = "0a55zk3qrw9yl27i87h3brg2hskmmzbfda77dhq9a4if7y70xnfb";
|
2015-03-12 01:20:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
PREFIX = "\${out}";
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with 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 17:05:19 +01:00
|
|
|
license = licenses.bsd3;
|
2015-03-12 01:20:29 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|