nixpkgs/pkgs/servers/beanstalkd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
792 B
Nix
Raw Normal View History

2021-09-19 13:25:15 +00:00
{ lib, stdenv, fetchFromGitHub, installShellFiles, nixosTests }:
2020-12-10 21:35:29 +00:00
2013-11-24 22:26:56 +00:00
stdenv.mkDerivation rec {
2023-05-02 04:02:55 +00:00
version = "1.13";
pname = "beanstalkd";
2013-11-24 22:26:56 +00:00
2021-09-19 13:25:15 +00:00
src = fetchFromGitHub {
owner = "kr";
repo = "beanstalkd";
rev = "v${version}";
2023-05-02 04:02:55 +00:00
hash = "sha256-xoudhPad4diGGE8iZaY1/4LiENlKT2dYcIR6wlQdlTU=";
2013-11-24 22:26:56 +00:00
};
hardeningDisable = [ "fortify" ];
2016-02-08 17:27:52 +00:00
2020-12-10 21:35:29 +00:00
makeFlags = [ "PREFIX=${placeholder "out"}" ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage doc/beanstalkd.1
'';
2021-04-03 22:32:24 +00:00
passthru.tests = {
smoke-test = nixosTests.beanstalkd;
};
meta = with lib; {
homepage = "http://kr.github.io/beanstalkd/";
2014-11-11 13:20:43 +00:00
description = "A simple, fast work queue";
2013-11-24 22:26:56 +00:00
license = licenses.mit;
maintainers = [ maintainers.zimbatm ];
platforms = platforms.all;
};
}