mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
7e30cfff78
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. These checks were done: - built on NixOS - /nix/store/jfhla2f3268dkbi1frd8g1d46cj6f1xm-memcached-1.5.8/bin/memcached passed the binary check. - 1 of 1 passed binary check by having a zero exit code. - 1 of 1 passed binary check by having the new version present in output. - found 1.5.8 with grep in /nix/store/jfhla2f3268dkbi1frd8g1d46cj6f1xm-memcached-1.5.8 - directory tree listing: https://gist.github.com/69a417ed0d192d2c714645a464ec2ba5 - du listing: https://gist.github.com/94f5ac6323482d6fb77b7fe42d8814a9
27 lines
755 B
Nix
27 lines
755 B
Nix
{stdenv, fetchurl, cyrus_sasl, libevent}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.5.8";
|
|
name = "memcached-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://memcached.org/files/${name}.tar.gz";
|
|
sha256 = "1ppnhsqv9047vm0rrmqla56y972f8qqjdb780iz6v922jjcc723k";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|