1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/servers/memcached/default.nix
R. RyanTM ce783564f1 memcached: 1.5.10 -> 1.5.11
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/memcached/versions
2018-10-14 05:42:57 -07:00

27 lines
757 B
Nix

{stdenv, fetchurl, cyrus_sasl, libevent}:
stdenv.mkDerivation rec {
version = "1.5.11";
name = "memcached-${version}";
src = fetchurl {
url = "https://memcached.org/files/${name}.tar.gz";
sha256 = "0ajql8qs3w1lpw41vxkq2xabkxmmdk2nwg3i4lkclraq8pw92yk9";
};
buildInputs = [cyrus_sasl libevent];
hardeningEnable = [ "pie" ];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-Wno-error";
meta = with stdenv.lib; {
description = "A distributed memory object caching system";
repositories.git = https://github.com/memcached/memcached.git;
homepage = http://memcached.org/;
license = licenses.bsd3;
maintainers = [ maintainers.coconnor ];
platforms = platforms.linux ++ platforms.darwin;
};
}