nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 44 lines 869 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 glib, 6 pkg-config, 7 libxscrnsaver, 8 libx11, 9 dbus, 10}: 11 12stdenv.mkDerivation (finalAttrs: { 13 pname = "xssproxy"; 14 version = "1.1.2"; 15 16 src = fetchFromGitHub { 17 owner = "vincentbernat"; 18 repo = "xssproxy"; 19 rev = "v${finalAttrs.version}"; 20 sha256 = "sha256-6M82gQZcgjqZBGw4YszAF0DmS+JXgFp6hl2gOF1RWAs="; 21 }; 22 23 nativeBuildInputs = [ pkg-config ]; 24 buildInputs = [ 25 glib 26 libx11 27 libxscrnsaver 28 dbus 29 ]; 30 31 makeFlags = [ 32 "bindir=$(out)/bin" 33 "man1dir=$(out)/share/man/man1" 34 ]; 35 36 meta = { 37 description = "Forward freedesktop.org Idle Inhibition Service calls to Xss"; 38 mainProgram = "xssproxy"; 39 homepage = "https://github.com/vincentbernat/xssproxy"; 40 license = lib.licenses.gpl3; 41 maintainers = with lib.maintainers; [ benley ]; 42 platforms = lib.platforms.unix; 43 }; 44})