2019-04-11 09:38:50 +02:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "hiredis-vip";
|
|
|
|
version = "0.3.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vipshop";
|
|
|
|
repo = "hiredis-vip";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1z9zry635pxqv6d2cgk3dghb5qfpg9m7dz34ld4djw9b53hjr2z2";
|
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A C client library for the Redis database";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/vipshop/hiredis-vip";
|
2019-04-11 09:38:50 +02:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|