Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 35 lines 792 B view raw
1{ lib, stdenv, fetchFromGitHub, installShellFiles, nixosTests }: 2 3stdenv.mkDerivation rec { 4 version = "1.13"; 5 pname = "beanstalkd"; 6 7 src = fetchFromGitHub { 8 owner = "kr"; 9 repo = "beanstalkd"; 10 rev = "v${version}"; 11 hash = "sha256-xoudhPad4diGGE8iZaY1/4LiENlKT2dYcIR6wlQdlTU="; 12 }; 13 14 hardeningDisable = [ "fortify" ]; 15 16 makeFlags = [ "PREFIX=${placeholder "out"}" ]; 17 18 nativeBuildInputs = [ installShellFiles ]; 19 20 postInstall = '' 21 installManPage doc/beanstalkd.1 22 ''; 23 24 passthru.tests = { 25 smoke-test = nixosTests.beanstalkd; 26 }; 27 28 meta = with lib; { 29 homepage = "http://kr.github.io/beanstalkd/"; 30 description = "A simple, fast work queue"; 31 license = licenses.mit; 32 maintainers = [ maintainers.zimbatm ]; 33 platforms = platforms.all; 34 }; 35}