mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
hiredis: Add derivation
This commit is contained in:
parent
5545212000
commit
94a4bce09d
22
pkgs/development/libraries/hiredis/default.nix
Normal file
22
pkgs/development/libraries/hiredis/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "hiredis-${version}";
|
||||
version = "0.12.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/redis/hiredis";
|
||||
rev = "37c06facda57af9bad68f50c18edfa22d6ef76f7";
|
||||
sha256 = "1z1rzhh1659g8i5bl78k1i1imlz2prwirhzbkn6j7hvq4mxbf2yz";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -5895,6 +5895,8 @@ let
|
|||
libusb = libusb1;
|
||||
};
|
||||
|
||||
hiredis = callPackage ../development/libraries/hiredis { };
|
||||
|
||||
hivex = callPackage ../development/libraries/hivex {
|
||||
inherit (perlPackages) IOStringy;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue