Merge pull request #242524 from majiru/drawterm-parallel

This commit is contained in:
Artturi 2023-07-12 17:43:00 +03:00 committed by GitHub
commit 9f7c514c9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@
, config
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "drawterm";
version = "unstable-2023-06-27";
@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
sha256 = "ebqw1jqeRC0FWeUIO/HaEovuwzU6+B48TjZbVJXByvA=";
};
enableParallelBuilding = true;
strictDeps = true;
nativeBuildInputs = [ installShellFiles ] ++ {
linux = [ pkg-config wayland-scanner ];
unix = [ makeWrapper ];
@ -47,12 +49,11 @@ stdenv.mkDerivation rec {
mv drawterm drawterm.bin
install -Dm755 -t $out/bin/ drawterm.bin
makeWrapper ${pulseaudio}/bin/padsp $out/bin/drawterm --add-flags $out/bin/drawterm.bin
'';
}."${config}" or (throw "unsupported CONF") + ''
installManPage drawterm.1
'';
}."${config}" or (throw "unsupported CONF") + ''
installManPage drawterm.1
'';
meta = with lib; {
description = "Connect to Plan 9 CPU servers from other operating systems.";
homepage = "https://drawterm.9front.org/";