slurm: add pkg

This commit is contained in:
Arseniy Seroka 2015-02-28 20:11:13 +03:00
parent 68ed035798
commit 7ce77b5752
3 changed files with 36 additions and 0 deletions

View file

@ -108,6 +108,7 @@
./services/cluster/panamax.nix
./services/computing/torque/server.nix
./services/computing/torque/mom.nix
./services/computing/slurm/slurm.nix
./services/continuous-integration/jenkins/default.nix
./services/continuous-integration/jenkins/slave.nix
./services/databases/4store-endpoint.nix

View file

@ -0,0 +1,33 @@
{ stdenv, fetchurl, python, munge, perl, pam, openssl, mysql }:
#TODO: add sview support based on gtk2
stdenv.mkDerivation rec {
name = "slurm-llnl-${version}";
version = "14.11.4";
src = fetchurl {
url = "http://www.schedmd.com/download/latest/slurm-${version}.tar.bz2";
sha256 = "1w454j92j2fnh7xmg63275qcszq8ywiq51sm2rpyf175jrxv6ina";
};
buildInputs = [ python munge perl pam openssl mysql ];
configureFlags = ''
--with-munge=${munge}
--with-ssl=${openssl}
'';
preConfigure = ''
substituteInPlace ./doc/html/shtml2html.py --replace "/usr/bin/env python" "${python.interpreter}"
substituteInPlace ./doc/man/man2html.py --replace "/usr/bin/env python" "${python.interpreter}"
'';
meta = with stdenv.lib; {
homepage = http://www.schedmd.com/;
description = "Simple Linux Utility for Resource Management";
platforms = platforms.linux;
license = licenses.gpl2;
maintainers = [ maintainers.jagajaga ];
};
}

View file

@ -8340,6 +8340,8 @@ let
thttpd = callPackage ../servers/http/thttpd { };
storm = callPackage ../servers/computing/storm { };
slurm-llnl = callPackage ../servers/computing/slurm { };
tomcat5 = callPackage ../servers/http/tomcat/5.0.nix { };