Skip to content

Commit

Permalink
bustle: migrate to new apple sdk, format to rfc style
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahec committed Nov 6, 2024
1 parent 5cb4fd0 commit 770809d
Showing 1 changed file with 33 additions and 30 deletions.
63 changes: 33 additions & 30 deletions pkgs/by-name/bu/bustle/package.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{ lib
, stdenv
, fetchFromGitLab
, buildPackages
, cargo
, meson
, ninja
, pkg-config
, desktop-file-utils
, rustPlatform
, rustc
, wrapGAppsHook4
, darwin
, gettext
, glib
, gtk4
, libadwaita
, libiconv
{
lib,
stdenv,
fetchFromGitLab,
buildPackages,
cargo,
meson,
ninja,
pkg-config,
apple-sdk_11,
desktop-file-utils,
rustPlatform,
rustc,
wrapGAppsHook4,
gettext,
glib,
gtk4,
libadwaita,
libiconv,
}:

stdenv.mkDerivation (finalAttrs: {
Expand Down Expand Up @@ -56,21 +57,23 @@ stdenv.mkDerivation (finalAttrs: {
glib
];

buildInputs = [
glib
gtk4
libadwaita
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Foundation
libiconv
];
buildInputs =
[
glib
gtk4
libadwaita
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_11
libiconv
];

meta = with lib; {
meta = {
description = "Graphical D-Bus message analyser and profiler";
homepage = "https://gitlab.gnome.org/World/bustle";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ jtojnar ];
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ jtojnar ];
mainProgram = "bustle";
platforms = platforms.all;
platforms = lib.platforms.all;
};
})

0 comments on commit 770809d

Please sign in to comment.