Merge remote-tracking branch 'upstream/staging-next' into HEAD

This commit is contained in:
Jörg Thalheim
2021-04-17 16:37:04 +02:00
239 changed files with 7439 additions and 3748 deletions
@@ -43,14 +43,11 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
# Must replace GNU Make by bmake
buildPhase = with lib; concatStringsSep " " (
[ "bmake" "-j$NIX_BUILD_CORES" "PREFIX=$out" ]
makeFlags = with lib; [ "PREFIX=$(out)" ]
++ optional stdenv.isLinux "WITH_POSIX_C_SOURCE=YES"
++ mapAttrsToList (feat: enabled:
optionalString enabled "WITH_${toUpper feat}=YES"
) features
);
) features;
# Can't suid in nix store
# Run hikari as root (it will drop privileges as early as possible), or create
@@ -59,13 +56,6 @@ stdenv.mkDerivation {
substituteInPlace Makefile --replace '4555' '555'
'';
installPhase = ''
bmake \
PREFIX=$out \
install
runHook postInstall
'';
meta = with lib; {
description = "Stacking Wayland compositor which is actively developed on FreeBSD but also supports Linux";
homepage = "https://hikari.acmelabs.space";
@@ -16,27 +16,30 @@
, libXinerama
, libXrandr
, libXrender
, libXres
, pcre
, pkg-config
}:
let
rev = "v0.6-17-g271e784";
in
stdenv.mkDerivation rec {
pname = "neocomp-unstable";
version = "2019-03-12";
pname = "neocomp";
version = "unstable-2021-04-06";
src = fetchFromGitHub {
inherit rev;
owner = "DelusionalLogic";
repo = "NeoComp";
sha256 = "1mp338vz1jm5pwf7pi5azx4hzykmvpkwzx1kw6a9anj272f32zpg";
owner = "DelusionalLogic";
repo = "NeoComp";
rev = "ccd340d7b2dcd3f828aff958a638cc23686aee6f";
sha256 = "sha256-tLLEwpAGNVTC+N41bM7pfskIli4Yvc95wH2/NT0OZ+8=";
};
buildInputs = [
nativeBuildInputs = [
asciidoc
docbook_xml_dtd_45
docbook_xsl
pkg-config
];
buildInputs = [
freetype
judy
libGL
@@ -50,15 +53,15 @@ stdenv.mkDerivation rec {
libXinerama
libXrandr
libXrender
libXres
pcre
pkg-config
];
makeFlags = [
"PREFIX=${placeholder "out"}"
"CFGDIR=${placeholder "out"}/etc/xdg/neocomp"
"ASTDIR=${placeholder "out"}/share/neocomp/assets"
"COMPTON_VERSION=git-${rev}-${version}"
"COMPTON_VERSION=${version}"
];
postPatch = ''
@@ -72,8 +75,8 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://github.com/DelusionalLogic/NeoComp";
license = licenses.gpl3;
maintainers = with maintainers; [ twey ];
license = licenses.gpl3Only;
maintainers = with maintainers; [ twey fortuneteller2k ];
platforms = platforms.linux;
description = "A fork of Compton, a compositor for X11";
longDescription = ''