My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/servers/computing/slurm/default.nix

33 lines
1.0 KiB

{ stdenv, fetchurl, pkgconfig, curl, python, munge, perl, pam, openssl,
ncurses, mysql, gtk }:
9 years ago
stdenv.mkDerivation rec {
name = "slurm-llnl-${version}";
version = "15-08-5-1";
9 years ago
src = fetchurl {
url = "https://github.com/SchedMD/slurm/archive/slurm-${version}.tar.gz";
sha256 = "05si1cn7zivggan25brsqfdw0ilvrlnhj96pwv16dh6vfkggzjr1";
9 years ago
};
buildInputs = [ pkgconfig curl python munge perl pam openssl mysql.lib ncurses gtk ];
9 years ago
configureFlags =
[ "--with-munge=${munge}"
"--with-ssl=${openssl.dev}"
] ++ stdenv.lib.optional (gtk == null) "--disable-gtktest";
9 years ago
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 ];
};
}