nixpkgs-suyu/pkgs/development/python-modules/pyslurm/default.nix
Dmitry Kalinkin bb12277049
pythonPackages.pyslurm: 20170302 -> 20180427
Fixes build against slurm 17.11.5

Fixes: 0e0b80d4b4 ('slurm: 17.11.3 -> 17.11.5')
2018-04-30 11:28:50 -04:00

23 lines
653 B
Nix

{ lib, fetchFromGitHub, buildPythonPackage, cython, slurm }:
buildPythonPackage rec {
pname = "pyslurm";
version = "20180427";
src = fetchFromGitHub {
repo = "pyslurm";
owner = "PySlurm";
rev = "3900e1afac9ffd13c80c57d8c39933d42eb7bad7";
sha256 = "1a183ig4sdbc70rx2yyaslyq61wkbsf8cbim1jj0kzrp65nf0vls";
};
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 ];
};
}