Files
Ihar HrachyshkaandWolfgang Walther 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

62 lines
1006 B
Nix

{
lib,
stdenv,
desktop-file-utils,
nix-update-script,
fetchFromGitHub,
flatpak,
gettext,
glib,
granite7,
gtk4,
meson,
ninja,
pkg-config,
vala,
libxml2,
wrapGAppsHook4,
}:
stdenv.mkDerivation rec {
pname = "sideload";
version = "6.3.1";
src = fetchFromGitHub {
owner = "elementary";
repo = "sideload";
tag = version;
hash = "sha256-mFaMKY4SdnSdRsHy5vIbJFdMx2FGxYCWmSAWkb99yUI=";
};
nativeBuildInputs = [
desktop-file-utils
gettext
meson
ninja
pkg-config
vala
wrapGAppsHook4
];
buildInputs = [
flatpak
glib
granite7
gtk4
libxml2
];
passthru = {
updateScript = nix-update-script { };
};
meta = {
homepage = "https://github.com/elementary/sideload";
description = "Flatpak installer, designed for elementary OS";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
teams = [ lib.teams.pantheon ];
mainProgram = "io.elementary.sideload";
};
}