3ebad47b8a
Fixes: bd9512f217 ('slurm: 17.02.6 -> 17.02.9 for CVE-2017-15566') (cherry picked from commit e5aa7467d4cb3750816a3673cf6c7fac138de111)
25 lines
685 B
Nix
25 lines
685 B
Nix
{ lib, fetchFromGitHub, buildPythonPackage, cython, slurm }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyslurm";
|
|
version = "20171102";
|
|
name = pname + "-" + version;
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "pyslurm";
|
|
owner = "PySlurm";
|
|
rev = "a2acbc820da419e308c5817998d2abe78a7b75e6";
|
|
sha256 = "1wmlx5fh1xzjyksvmq7i083hmyvs7id61ysk2d9hbmf8rza498as";
|
|
};
|
|
|
|
buildInputs = [ cython slurm ];
|
|
setupPyBuildFlags = [ "--slurm-lib=${slurm}/lib" "--slurm-inc=${slurm.dev}/include" ];
|
|
|
|
meta = with lib; {
|
|
homepage = https://github.com/PySlurm/pyslurm;
|
|
description = "Python bindings to Slurm";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.veprbl ];
|
|
};
|
|
}
|