mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Add storm package.
This commit is contained in:
parent
c5750ea3e9
commit
04a232f28b
35
pkgs/servers/computing/storm/default.nix
Normal file
35
pkgs/servers/computing/storm/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ stdenv, fetchurl, unzip, jzmq, jdk, lib, python}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "storm-0.8.2";
|
||||
src = fetchurl {
|
||||
url = https://dl.dropbox.com/u/133901206/storm-0.8.2.zip;
|
||||
sha256 = "8761aea0b54e5bab4a68b259bbe6b5b2f8226204488b5559eba57a0c458b2bbc";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip jzmq ];
|
||||
|
||||
installPhase = ''
|
||||
# Remove junk
|
||||
rm -f lib/jzmq*
|
||||
mkdir -p /var/log/storm
|
||||
mv bin/storm $out/bin/
|
||||
rm -R bin
|
||||
|
||||
# Fix shebang header for python scripts
|
||||
sed -i -e "s|#!/usr/bin/.*python|#!${python}/bin/python|" bin/storm;
|
||||
|
||||
mkdir -p $out
|
||||
cp -av * $out
|
||||
ln -s /var/log/storm $out/logs
|
||||
'';
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
meta = {
|
||||
homepage = "http://storm-project.net";
|
||||
description = "Storm, free and open source distributed realtime computation system.";
|
||||
license = "Eclipse Public License 1.0";
|
||||
maintainers = [ lib.maintainers.blue ];
|
||||
};
|
||||
}
|
@ -6170,6 +6170,8 @@ let
|
||||
|
||||
thttpd = callPackage ../servers/http/thttpd { };
|
||||
|
||||
storm = callPackage ../servers/computing/storm { };
|
||||
|
||||
tomcat5 = callPackage ../servers/http/tomcat/5.0.nix { };
|
||||
|
||||
tomcat6 = callPackage ../servers/http/tomcat/6.0.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user