1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 13:44:50 +00:00
nixpkgs/pkgs/servers/beanstalkd/default.nix
Franz Pletz aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00

24 lines
588 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "1.10";
name = "beanstalkd-${version}";
installPhase=''make install "PREFIX=$out"'';
src = fetchurl {
url = "https://github.com/kr/beanstalkd/archive/v${version}.tar.gz";
sha256 = "0n9dlmiddcfl7i0f1lwfhqiwyvf26493fxfcmn8jm30nbqciwfwj";
};
hardeningDisable = [ "fortify" ];
meta = with stdenv.lib; {
homepage = http://kr.github.io/beanstalkd/;
description = "A simple, fast work queue";
license = licenses.mit;
maintainers = [ maintainers.zimbatm ];
platforms = platforms.all;
};
}