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

24 lines
559 B
Nix
Raw Normal View History

2015-04-19 09:13:56 +02:00
{ stdenv, fetchFromGitHub }:
2015-03-12 02:20:29 +01:00
stdenv.mkDerivation rec {
name = "hiredis-${version}";
2016-05-23 22:29:53 +02:00
version = "0.13.3";
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}";
2016-05-23 22:29:53 +02:00
sha256 = "1qxiv61bsp6s847hhkxqj7vnbdlac089r2qdp3zgxhhckaflhb7r";
2015-03-12 02:20:29 +01:00
};
PREFIX = "\${out}";
meta = with stdenv.lib; {
homepage = https://github.com/redis/hiredis;
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;
maintainers = with maintainers; [ wkennington ];
};
}