3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/computing/slurm/default.nix
Lancelot SIX 53a3294e95 pkgs.slurm-llnl-full: Add full variant of slurm-llnl
Add a variant of slurm-llnl that includes sview (based on gtk).
pkgs.slurm-llnl also gains the ncurses-based smap tool.
2015-12-19 16:50:24 +01:00

33 lines
1 KiB
Nix

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