Skip to content

Commit

Permalink
wlroots: clear up
Browse files Browse the repository at this point in the history
  • Loading branch information
wineee committed Sep 26, 2024
1 parent 8e31c4a commit 3169cae
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions pkgs/development/libraries/wlroots/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}:

let
generic = { version, hash, extraBuildInputs ? [ ], extraNativeBuildInputs ? [ ], patches ? [ ], postPatch ? "" }:
generic = { version, hash, extraBuildInputs ? [ ] }:
stdenv.mkDerivation (finalAttrs: {
pname = "wlroots";
inherit version;
Expand All @@ -46,18 +46,18 @@ let
inherit hash;
};

inherit patches postPatch;

# $out for the library and $examples for the example programs (in examples):
outputs = [ "out" "examples" ];

strictDeps = true;
depsBuildBuild = [ pkg-config ];

nativeBuildInputs = [ meson ninja pkg-config wayland-scanner glslang ]
++ extraNativeBuildInputs;
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner glslang hwdata ];

buildInputs = [
ffmpeg
libliftoff
libdisplay-info
libGL
libcap
libinput
Expand Down Expand Up @@ -126,26 +126,12 @@ rec {
wlroots_0_17 = generic {
version = "0.17.4";
hash = "sha256-AzmXf+HMX/6VAr0LpfHwfmDB9dRrrLQHt7l35K98MVo=";
extraNativeBuildInputs = [
hwdata
];
extraBuildInputs = [
ffmpeg
libliftoff
libdisplay-info
];
};

wlroots_0_18 = generic {
version = "0.18.1";
hash = "sha256-BlI3EUoGEHdO6IBh99o/Aadct2dd7Xjc4PG0Sv+flqI=";
extraNativeBuildInputs = [
hwdata
];
extraBuildInputs = [
ffmpeg
libliftoff
libdisplay-info
lcms2
];
};
Expand Down

0 comments on commit 3169cae

Please sign in to comment.