uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
37
pkgs/development/python-modules/pyslurm/default.nix
Normal file
37
pkgs/development/python-modules/pyslurm/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, slurm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyslurm";
|
||||
version = "21.08.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "pyslurm";
|
||||
owner = "PySlurm";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-9ZYTBO8g+5B9D8Ll5JjkJYFyh0RQNIjxg958UZoCNmA=";
|
||||
};
|
||||
|
||||
buildInputs = [ cython slurm ];
|
||||
|
||||
setupPyBuildFlags = [ "--slurm-lib=${slurm}/lib" "--slurm-inc=${slurm.dev}/include" ];
|
||||
|
||||
# Test cases need /etc/slurm/slurm.conf and require a working slurm installation
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/PySlurm/pyslurm";
|
||||
description = "Python bindings to Slurm";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ bhipple ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue