beanstalkd: install manpage (#106544)
This commit is contained in:
parent
095ecf7356
commit
a0aba95515
@ -1,10 +1,9 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, installShellFiles }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.12";
|
version = "1.12";
|
||||||
pname = "beanstalkd";
|
pname = "beanstalkd";
|
||||||
|
|
||||||
installPhase=''make install "PREFIX=$out"'';
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/kr/beanstalkd/archive/v${version}.tar.gz";
|
url = "https://github.com/kr/beanstalkd/archive/v${version}.tar.gz";
|
||||||
sha256 = "0gw8aygysnjzzfjgfzivy5vajla9adg2zcr4h8rrdf0xyykpwfpl";
|
sha256 = "0gw8aygysnjzzfjgfzivy5vajla9adg2zcr4h8rrdf0xyykpwfpl";
|
||||||
@ -12,6 +11,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
hardeningDisable = [ "fortify" ];
|
hardeningDisable = [ "fortify" ];
|
||||||
|
|
||||||
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installManPage doc/beanstalkd.1
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://kr.github.io/beanstalkd/";
|
homepage = "http://kr.github.io/beanstalkd/";
|
||||||
description = "A simple, fast work queue";
|
description = "A simple, fast work queue";
|
||||||
@ -20,4 +27,3 @@ stdenv.mkDerivation rec {
|
|||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user