2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, glib, pkgconfig, xorg, dbus }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = with lib.maintainers; [ benley ];
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|