wf-shell: update

This commit is contained in:
rewine 2023-03-12 02:47:45 +08:00
parent 790f3ca188
commit 2c98c9d34a
No known key found for this signature in database
GPG key ID: AABB329787290824

View file

@ -1,29 +1,53 @@
{ stdenv, lib, fetchurl, meson, ninja, pkg-config, wayland, alsa-lib, gtkmm3, gtk-layer-shell, pulseaudio, wayfire, wf-config
{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, pkg-config
, wayland-scanner
, wayfire
, wf-config
, alsa-lib
, gtkmm3
, gtk-layer-shell
, pulseaudio
}:
stdenv.mkDerivation rec {
pname = "wf-shell";
version = "0.7.0";
# > Note to packagers: do not use the autogenerated "Source code"
# > archives from GitHub, but the wf-shell-0.4.0.tar.xz file.
src = fetchurl {
url = "https://github.com/WayfireWM/wf-shell/releases/download/v${version}/wf-shell-${version}.tar.xz";
sha256 = "1isybm9lcpxwyf6zh2vzkwrcnw3q7qxm21535g4f08f0l68cd5bl";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = pname;
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-iQUBuNjbZuf51A69RC6NsMHFZCFRv+d9XZ0HtP6OpOA=";
};
nativeBuildInputs = [ meson ninja pkg-config wayland ];
buildInputs = [
alsa-lib gtkmm3 gtk-layer-shell pulseaudio wayfire wf-config
nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
];
mesonFlags = [ "--sysconfdir" "/etc" ];
buildInputs = [
wayfire
wf-config
alsa-lib
gtkmm3
gtk-layer-shell
pulseaudio
];
mesonFlags = [ "--sysconfdir /etc" ];
meta = with lib; {
homepage = "https://github.com/WayfireWM/wf-shell";
description = "GTK3-based panel for Wayfire";
license = licenses.mit;
maintainers = with maintainers; [ qyliss wucke13 ];
maintainers = with maintainers; [ qyliss wucke13 rewine ];
platforms = platforms.unix;
};
}