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
36
pkgs/servers/computing/slurm-spank-x11/default.nix
Normal file
36
pkgs/servers/computing/slurm-spank-x11/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchFromGitHub, slurm } :
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "slurm-spank-x11";
|
||||
version = "0.2.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hautreux";
|
||||
repo = "slurm-spank-x11";
|
||||
rev = version;
|
||||
sha256 = "1dmsr7whxcxwnlvl1x4s3bqr5cr6q5ssb28vqi67w5hj4sshisry";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
gcc -DX11_LIBEXEC_PROG="\"$out/bin/slurm-spank-x11\"" \
|
||||
-g -o slurm-spank-x11 slurm-spank-x11.c
|
||||
gcc -I${slurm.dev}/include -DX11_LIBEXEC_PROG="\"$out/bin/slurm-spank-x11\"" -shared -fPIC \
|
||||
-g -o x11.so slurm-spank-x11-plug.c
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/lib
|
||||
install -m 755 slurm-spank-x11 $out/bin
|
||||
install -m 755 x11.so $out/lib
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/hautreux/slurm-spank-x11";
|
||||
description = "Plugin for SLURM to allow for interactive X11 sessions";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ markuskowa ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue