depot/third_party/nixpkgs/pkgs/misc/screensavers/xssproxy/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
779 B
Nix

{ stdenv, fetchFromGitHub, glib, pkgconfig, xorg, dbus }:
let rev = "1.0.0"; in
stdenv.mkDerivation {
name = "xssproxy-${rev}";
src = fetchFromGitHub {
owner = "timakro";
repo = "xssproxy";
rev = "v${rev}";
sha256 = "0c83wmipnsdnbihc5niyczs7jrkss2s8n6iwwjdia7hkjzbd0hl7";
};
nativeBuildInputs = [ pkgconfig ];
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 = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ benley ];
platforms = stdenv.lib.platforms.unix;
};
}