nixpkgs/pkgs/servers/beanstalkd/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

37 lines
822 B
Nix

{ lib, stdenv, fetchFromGitHub, installShellFiles, nixosTests }:
stdenv.mkDerivation rec {
version = "1.13";
pname = "beanstalkd";
src = fetchFromGitHub {
owner = "kr";
repo = "beanstalkd";
rev = "v${version}";
hash = "sha256-xoudhPad4diGGE8iZaY1/4LiENlKT2dYcIR6wlQdlTU=";
};
hardeningDisable = [ "fortify" ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage doc/beanstalkd.1
'';
passthru.tests = {
smoke-test = nixosTests.beanstalkd;
};
meta = with lib; {
homepage = "http://kr.github.io/beanstalkd/";
description = "Simple, fast work queue";
license = licenses.mit;
maintainers = [ maintainers.zimbatm ];
platforms = platforms.all;
mainProgram = "beanstalkd";
};
}