nixpkgs-suyu/pkgs/servers/beanstalkd/default.nix

30 lines
709 B
Nix
Raw Normal View History

2020-12-10 22:35:29 +01:00
{ stdenv, fetchurl, installShellFiles }:
2013-11-24 23:26:56 +01:00
stdenv.mkDerivation rec {
2020-06-09 09:52:57 +02:00
version = "1.12";
pname = "beanstalkd";
2013-11-24 23:26:56 +01:00
src = fetchurl {
url = "https://github.com/kr/beanstalkd/archive/v${version}.tar.gz";
2020-06-09 09:52:57 +02:00
sha256 = "0gw8aygysnjzzfjgfzivy5vajla9adg2zcr4h8rrdf0xyykpwfpl";
2013-11-24 23:26:56 +01:00
};
hardeningDisable = [ "fortify" ];
2016-02-08 18:27:52 +01:00
2020-12-10 22:35:29 +01:00
makeFlags = [ "PREFIX=${placeholder "out"}" ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage doc/beanstalkd.1
'';
2013-11-24 23:26:56 +01:00
meta = with stdenv.lib; {
homepage = "http://kr.github.io/beanstalkd/";
2014-11-11 14:20:43 +01:00
description = "A simple, fast work queue";
2013-11-24 23:26:56 +01:00
license = licenses.mit;
maintainers = [ maintainers.zimbatm ];
platforms = platforms.all;
};
}