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