2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, glib, pkg-config, xorg, dbus }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-01-25 03:21:06 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xssproxy";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "1.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-09-09 14:08:57 +00:00
|
|
|
owner = "vincentbernat";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "xssproxy";
|
2022-01-25 03:21:06 +00:00
|
|
|
rev = "v${version}";
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-BE/v1CJAwKwxlK3Xg3ezD+IXyT7ZFGz3bQzGxFQfEnU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
2022-09-09 14:08:57 +00:00
|
|
|
homepage = "https://github.com/vincentbernat/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
|
|
|
};
|
|
|
|
}
|