nixpkgs/pkgs/misc/screensavers/xssproxy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
776 B
Nix
Raw Normal View History

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