mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
a1ab38dfc5
Fixes CVE-2021-32765. https://github.com/redis/hiredis/security/advisories/GHSA-hfm9-39pp-55p2
23 lines
495 B
Nix
23 lines
495 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hiredis";
|
|
version = "1.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "redis";
|
|
repo = "hiredis";
|
|
rev = "v${version}";
|
|
sha256 = "0a55zk3qrw9yl27i87h3brg2hskmmzbfda77dhq9a4if7y70xnfb";
|
|
};
|
|
|
|
PREFIX = "\${out}";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/redis/hiredis";
|
|
description = "Minimalistic C client for Redis >= 1.2";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|