nixpkgs/pkgs/tools/wayland/swaytools/default.nix
Artturin d3c7ef80ef pkgs/tools/wayland: mark all linux only
on non-linux they all fail various variations of
meson.build:26:0: ERROR: Dependency "wayland-client" not found, tried pkgconfig and framework
fatal error: 'wayland-util.h' file not found
2023-03-05 15:11:44 +02:00

23 lines
600 B
Nix

{ lib, buildPythonApplication, fetchFromGitHub, slurp }:
buildPythonApplication rec {
pname = "swaytools";
version = "0.1.1";
src = fetchFromGitHub {
owner = "tmccombs";
repo = "swaytools";
rev = version;
sha256 = "sha256-6Ec7MPqBia0PW+pBTAItLusWMg1wlFfEaxoh20/2uHg=";
};
propagatedBuildInputs = [ slurp ];
meta = with lib; {
homepage = "https://github.com/tmccombs/swaytools";
description = "Collection of simple tools for sway (and i3)";
license = licenses.gpl3Only;
maintainers = with maintainers; [ atila ];
platforms = platforms.linux;
};
}