nixpkgs/pkgs/development/libraries/hiredis/default.nix

24 lines
559 B
Nix
Raw Normal View History

2015-04-19 00:13:56 -07:00
{ stdenv, fetchFromGitHub }:
2015-03-11 18:20:29 -07:00
stdenv.mkDerivation rec {
name = "hiredis-${version}";
2015-05-06 09:42:50 -07:00
version = "0.13.1";
2015-03-11 18:20:29 -07:00
2015-04-19 00:13:56 -07:00
src = fetchFromGitHub {
owner = "redis";
repo = "hiredis";
rev = "v${version}";
2015-05-06 09:42:50 -07:00
sha256 = "15rzq7n7z9h143smrnd34f9gh24swwal6r9z9xlxsl0jxabiv71l";
2015-03-11 18:20:29 -07:00
};
PREFIX = "\${out}";
meta = with stdenv.lib; {
homepage = https://github.com/redis/hiredis;
description = "Minimalistic C client for Redis >= 1.2";
2015-04-21 09:05:19 -07:00
license = licenses.bsd3;
2015-03-11 18:20:29 -07:00
platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
};
}