2020-12-25 13:55:36 +00:00
|
|
|
{ stdenv, fetchurl, installShellFiles }:
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-06-18 07:06:33 +00:00
|
|
|
version = "1.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "beanstalkd";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/kr/beanstalkd/archive/v${version}.tar.gz";
|
2020-06-18 07:06:33 +00:00
|
|
|
sha256 = "0gw8aygysnjzzfjgfzivy5vajla9adg2zcr4h8rrdf0xyykpwfpl";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
hardeningDisable = [ "fortify" ];
|
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ installShellFiles ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
installManPage doc/beanstalkd.1
|
|
|
|
'';
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|