mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
95e9896c2b
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"
27 lines
755 B
Nix
27 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;
|
|
};
|
|
}
|