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
44 lines
839 B
Nix
44 lines
839 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
glib,
|
|
pkg-config,
|
|
xorg,
|
|
dbus,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xssproxy";
|
|
version = "1.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vincentbernat";
|
|
repo = "xssproxy";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-6M82gQZcgjqZBGw4YszAF0DmS+JXgFp6hl2gOF1RWAs=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
glib
|
|
xorg.libX11
|
|
xorg.libXScrnSaver
|
|
dbus
|
|
];
|
|
|
|
makeFlags = [
|
|
"bindir=$(out)/bin"
|
|
"man1dir=$(out)/share/man/man1"
|
|
];
|
|
|
|
meta = {
|
|
description = "Forward freedesktop.org Idle Inhibition Service calls to Xss";
|
|
mainProgram = "xssproxy";
|
|
homepage = "https://github.com/vincentbernat/xssproxy";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = with lib.maintainers; [ benley ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|