mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 14:41:27 +00:00
slurm: add pkg
This commit is contained in:
parent
68ed035798
commit
7ce77b5752
@ -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
|
||||
|
33
pkgs/servers/computing/slurm/default.nix
Normal file
33
pkgs/servers/computing/slurm/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user