@@ -0,0 +1,22 @@
1+{ stdenv, fetchgit }:
2+
3+stdenv.mkDerivation rec {
4+ name = "hiredis-${version}";
5+ version = "0.12.1";
6+
7+ src = fetchgit {
8+ url = "git://github.com/redis/hiredis";
9+ rev = "37c06facda57af9bad68f50c18edfa22d6ef76f7";
10+ sha256 = "1z1rzhh1659g8i5bl78k1i1imlz2prwirhzbkn6j7hvq4mxbf2yz";
11+ };
12+
13+ PREFIX = "\${out}";
14+
15+ meta = with stdenv.lib; {
16+ homepage = https://github.com/redis/hiredis;
17+ description = "Minimalistic C client for Redis >= 1.2";
18+ licenses = licenses.bsd3;
19+ platforms = platforms.all;
20+ maintainers = with maintainers; [ wkennington ];
21+ };
22+}