nixpkgs/pkgs/servers/memcached/default.nix
Ryan Mulligan 95e9896c2b memcached: 1.5.4 -> 1.5.5
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/6b8zx40j50ccjwn2z2s94zsgbzyghzxy-memcached-1.5.5/bin/memcached -h` got 0 exit code
- ran `/nix/store/6b8zx40j50ccjwn2z2s94zsgbzyghzxy-memcached-1.5.5/bin/memcached --help` got 0 exit code
- ran `/nix/store/6b8zx40j50ccjwn2z2s94zsgbzyghzxy-memcached-1.5.5/bin/memcached -V` and found version 1.5.5
- ran `/nix/store/6b8zx40j50ccjwn2z2s94zsgbzyghzxy-memcached-1.5.5/bin/memcached --version` and found version 1.5.5
- ran `/nix/store/6b8zx40j50ccjwn2z2s94zsgbzyghzxy-memcached-1.5.5/bin/memcached -h` and found version 1.5.5
- ran `/nix/store/6b8zx40j50ccjwn2z2s94zsgbzyghzxy-memcached-1.5.5/bin/memcached --help` and found version 1.5.5
- found 1.5.5 with grep in /nix/store/6b8zx40j50ccjwn2z2s94zsgbzyghzxy-memcached-1.5.5
- found 1.5.5 in filename of file in /nix/store/6b8zx40j50ccjwn2z2s94zsgbzyghzxy-memcached-1.5.5

cc "@coconnor"
2018-02-27 06:04:15 -08:00

26 lines
755 B
Nix

{stdenv, fetchurl, cyrus_sasl, libevent}:
stdenv.mkDerivation rec {
version = "1.5.5";
name = "memcached-${version}";
src = fetchurl {
url = "http://memcached.org/files/${name}.tar.gz";
sha256 = "1v87gvhxih5jav20cp9zdddna31s968xdm2iskc9mqzb5li6di72";
};
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;
};
}