Merge pull request #313274 from NickCao/slurp

slurp: mark platforms as linux only
This commit is contained in:
Pol Dellaiera 2024-05-21 07:42:22 +02:00 committed by GitHub
commit 7e5710d72e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 22 deletions

View File

@ -1,16 +1,17 @@
{ lib
, stdenv
, fetchFromGitHub
, cairo
, libxkbcommon
, meson
, ninja
, pkg-config
, scdoc
, wayland
, wayland-protocols
, wayland-scanner
, buildDocs ? true
{
lib,
stdenv,
fetchFromGitHub,
cairo,
libxkbcommon,
meson,
ninja,
pkg-config,
scdoc,
wayland,
wayland-protocols,
wayland-scanner,
buildDocs ? true,
}:
stdenv.mkDerivation (finalAttrs: {
@ -24,9 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-2M8f3kN6tihwKlUCp2Qowv5xD6Ufb71AURXqwQShlXI=";
};
depsBuildBuild = [
pkg-config
];
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [
meson
@ -46,13 +45,16 @@ stdenv.mkDerivation (finalAttrs: {
mesonFlags = [ (lib.mesonEnable "man-pages" buildDocs) ];
meta = with lib; {
meta = {
changelog = "https://github.com/emersion/slurp/releases/tag/v${finalAttrs.version}";
description = "Select a region in a Wayland compositor";
inherit (wayland.meta) platforms;
platforms = lib.platforms.linux;
homepage = "https://github.com/emersion/slurp";
license = licenses.mit;
license = lib.licenses.mit;
mainProgram = "slurp";
maintainers = with maintainers; [ buffet nickcao ];
maintainers = with lib.maintainers; [
buffet
nickcao
];
};
})

View File

@ -4683,8 +4683,6 @@ with pkgs;
shotman = callPackage ../tools/wayland/shotman { };
slurp = callPackage ../tools/wayland/slurp { };
sway-unwrapped = callPackage ../by-name/sw/sway-unwrapped/package.nix {
wlroots = wlroots_0_17;
};