2021-01-17 03:30:45 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, glib, pkg-config, xorg, dbus }:
|
2017-08-28 10:02:42 +02:00
|
|
|
|
2022-01-22 18:13:29 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xssproxy";
|
|
|
|
version = "1.0.0";
|
2017-08-28 10:02:42 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "timakro";
|
|
|
|
repo = "xssproxy";
|
2022-01-22 18:13:29 +01:00
|
|
|
rev = "v${version}";
|
2017-08-28 10:02:42 +02:00
|
|
|
sha256 = "0c83wmipnsdnbihc5niyczs7jrkss2s8n6iwwjdia7hkjzbd0hl7";
|
|
|
|
};
|
|
|
|
|
2021-01-17 03:30:45 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 23:26:13 +02:00
|
|
|
buildInputs = [ glib xorg.libX11 xorg.libXScrnSaver dbus ];
|
2017-08-28 10:02:42 +02:00
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"bindir=$(out)/bin"
|
|
|
|
"man1dir=$(out)/share/man/man1"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Forward freedesktop.org Idle Inhibition Service calls to Xss";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/timakro/xssproxy";
|
2021-01-15 14:21:58 +01:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = with lib.maintainers; [ benley ];
|
|
|
|
platforms = lib.platforms.unix;
|
2017-08-28 10:02:42 +02:00
|
|
|
};
|
|
|
|
}
|