mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
b5df06b95c
This also changes location of the source code (the old location redirects to the new one).
30 lines
776 B
Nix
30 lines
776 B
Nix
{ lib, stdenv, fetchFromGitHub, glib, pkg-config, xorg, dbus }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xssproxy";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vincentbernat";
|
|
repo = "xssproxy";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-BE/v1CJAwKwxlK3Xg3ezD+IXyT7ZFGz3bQzGxFQfEnU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
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/vincentbernat/xssproxy";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = with lib.maintainers; [ benley ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|