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

24 lines
560 B
Nix
Raw Normal View History

2015-04-19 07:13:56 +00:00
{ stdenv, fetchFromGitHub }:
2015-03-12 01:20:29 +00:00
stdenv.mkDerivation rec {
name = "hiredis-${version}";
2015-04-19 07:13:56 +00:00
version = "0.13.0";
2015-03-12 01:20:29 +00:00
2015-04-19 07:13:56 +00:00
src = fetchFromGitHub {
owner = "redis";
repo = "hiredis";
rev = "v${version}";
sha256 = "195ih8jprw0q253nvhnmfv9dsm8pss6pdf4x3c88q4mfsyw8pg76";
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";
licenses = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
};
}