Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
61 lines
1.2 KiB
Nix
61 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
libev,
|
|
libX11,
|
|
libXext,
|
|
libXi,
|
|
libXfixes,
|
|
pkg-config,
|
|
asciidoc,
|
|
libxslt,
|
|
docbook_xsl,
|
|
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "unclutter-xfixes";
|
|
version = "1.6-unstable-2024-11-25";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Airblader";
|
|
repo = "unclutter-xfixes";
|
|
rev = "0eb7a8f4365c05d09db048bd1a45f8943c1d5da3";
|
|
hash = "sha256-ipMifLFCh2vW8D9/KkxWL7W5T5dshRZ5wyQY0wgoaxQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
asciidoc
|
|
libxslt
|
|
docbook_xsl
|
|
];
|
|
buildInputs = [
|
|
libev
|
|
libX11
|
|
libXext
|
|
libXi
|
|
libXfixes
|
|
];
|
|
|
|
prePatch = ''
|
|
substituteInPlace Makefile --replace-fail 'PKG_CONFIG =' 'PKG_CONFIG ?='
|
|
'';
|
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = {
|
|
description = "Rewrite of unclutter using the X11 Xfixes extension";
|
|
homepage = "https://github.com/Airblader/unclutter-xfixes";
|
|
platforms = lib.platforms.unix;
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.ryand56 ];
|
|
mainProgram = "unclutter";
|
|
};
|
|
}
|