2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
2020-08-20 17:08:02 +00:00
|
|
|
, nix-update-script
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, vala
|
|
|
|
, desktop-file-utils
|
|
|
|
, libcanberra
|
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, libgee
|
2021-09-22 15:38:15 +00:00
|
|
|
, libhandy
|
2020-04-24 23:36:52 +00:00
|
|
|
, granite
|
|
|
|
, pango
|
|
|
|
, bamf
|
|
|
|
, sqlite
|
|
|
|
, zeitgeist
|
|
|
|
, libcloudproviders
|
|
|
|
, libgit2-glib
|
2024-05-15 15:35:15 +00:00
|
|
|
, wrapGAppsHook3
|
2021-09-22 15:38:15 +00:00
|
|
|
, systemd
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "elementary-files";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "6.5.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
2021-12-19 01:06:50 +00:00
|
|
|
repo = "files";
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = version;
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-geJLHRo1Bd2oFT+UtirHj9FVSFTFMK/v/5h+NF9woFo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
vala
|
2024-05-15 15:35:15 +00:00
|
|
|
wrapGAppsHook3
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
bamf
|
2021-12-06 16:07:01 +00:00
|
|
|
glib
|
2020-04-24 23:36:52 +00:00
|
|
|
granite
|
|
|
|
gtk3
|
|
|
|
libcanberra
|
|
|
|
libcloudproviders
|
|
|
|
libgee
|
|
|
|
libgit2-glib
|
2021-09-22 15:38:15 +00:00
|
|
|
libhandy
|
2020-04-24 23:36:52 +00:00
|
|
|
pango
|
|
|
|
sqlite
|
2021-09-22 15:38:15 +00:00
|
|
|
systemd
|
2020-04-24 23:36:52 +00:00
|
|
|
zeitgeist
|
|
|
|
];
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
passthru = {
|
2022-12-28 21:21:41 +00:00
|
|
|
updateScript = nix-update-script { };
|
2021-12-19 01:06:50 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "File browser designed for elementary OS";
|
|
|
|
homepage = "https://github.com/elementary/files";
|
2021-09-22 15:38:15 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2021-09-22 15:38:15 +00:00
|
|
|
maintainers = teams.pantheon.members;
|
2021-12-06 16:07:01 +00:00
|
|
|
mainProgram = "io.elementary.files";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|