depot/third_party/nixpkgs/pkgs/misc/screensavers/xssproxy/default.nix
Default email 0eeabdeb66 Project import generated by Copybara.
GitOrigin-RevId: c07b471b52be8fbc49a7dc194e9b37a6e19ee04d
2022-01-24 21:21:06 -06:00

29 lines
765 B
Nix

{ lib, stdenv, fetchFromGitHub, glib, pkg-config, xorg, dbus }:
stdenv.mkDerivation rec {
pname = "xssproxy";
version = "1.0.0";
src = fetchFromGitHub {
owner = "timakro";
repo = "xssproxy";
rev = "v${version}";
sha256 = "0c83wmipnsdnbihc5niyczs7jrkss2s8n6iwwjdia7hkjzbd0hl7";
};
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";
homepage = "https://github.com/timakro/xssproxy";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ benley ];
platforms = lib.platforms.unix;
};
}