2015-04-19 08:13:56 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2015-03-12 01:20:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "hiredis-${version}";
|
2018-10-03 19:41:55 +01:00
|
|
|
version = "0.14.0";
|
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}";
|
2018-10-03 19:41:55 +01:00
|
|
|
sha256 = "0ik38lwpmm780jqrry95ckf6flmvd172444p3q8d1k9n99jwij9c";
|
2015-03-12 01:20:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
PREFIX = "\${out}";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/redis/hiredis;
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|