mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
zookeeper: replace tabs with spaces
This commit is contained in:
parent
3ae8810ffa
commit
87b9c4a6b6
@ -1,36 +1,36 @@
|
||||
{ stdenv, fetchurl, jre, makeWrapper, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zookeeper-3.4.6";
|
||||
name = "zookeeper-3.4.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/zookeeper/${name}/${name}.tar.gz";
|
||||
sha256 = "01b3938547cd620dc4c93efe07c0360411f4a66962a70500b163b59014046994";
|
||||
};
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/zookeeper/${name}/${name}.tar.gz";
|
||||
sha256 = "01b3938547cd620dc4c93efe07c0360411f4a66962a70500b163b59014046994";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper jre ];
|
||||
buildInputs = [ makeWrapper jre ];
|
||||
|
||||
phases = ["unpackPhase" "installPhase"];
|
||||
phases = ["unpackPhase" "installPhase"];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -R conf docs lib ${name}.jar $out
|
||||
mkdir -p $out/bin
|
||||
cp -R bin/{zkCli,zkCleanup,zkEnv}.sh $out/bin
|
||||
for i in $out/bin/{zkCli,zkCleanup}.sh; do
|
||||
wrapProgram $i \
|
||||
--set JAVA_HOME "${jre}" \
|
||||
--prefix PATH : "${bash}/bin"
|
||||
done
|
||||
chmod -x $out/bin/zkEnv.sh
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -R conf docs lib ${name}.jar $out
|
||||
mkdir -p $out/bin
|
||||
cp -R bin/{zkCli,zkCleanup,zkEnv}.sh $out/bin
|
||||
for i in $out/bin/{zkCli,zkCleanup}.sh; do
|
||||
wrapProgram $i \
|
||||
--set JAVA_HOME "${jre}" \
|
||||
--prefix PATH : "${bash}/bin"
|
||||
done
|
||||
chmod -x $out/bin/zkEnv.sh
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://zookeeper.apache.org";
|
||||
description = "Apache Zookeeper";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.nathan-gs ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://zookeeper.apache.org";
|
||||
description = "Apache Zookeeper";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.nathan-gs ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user