c9c6325e78
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/elementary-files/versions
72 lines
1.6 KiB
Nix
72 lines
1.6 KiB
Nix
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, gettext, vala
|
|
, python3, desktop-file-utils, libcanberra, gtk3, libgee, granite, libnotify
|
|
, libunity, pango, plank, bamf, sqlite, libdbusmenu-gtk3, zeitgeist, glib-networking
|
|
, elementary-icon-theme, gobject-introspection, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "files";
|
|
version = "4.1.8";
|
|
|
|
name = "elementary-${pname}-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1frslwbqnv3mwv5dpb1sbhxnwl87cps2ambkkhnn9wwckjpm7p8f";
|
|
};
|
|
|
|
passthru = {
|
|
updateScript = pantheon.updateScript {
|
|
repoName = pname;
|
|
attrPath = "elementary-${pname}";
|
|
};
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
gettext
|
|
glib-networking
|
|
gobject-introspection
|
|
meson
|
|
ninja
|
|
pkgconfig
|
|
python3
|
|
vala
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
bamf
|
|
elementary-icon-theme
|
|
granite
|
|
gtk3
|
|
libcanberra
|
|
libdbusmenu-gtk3
|
|
libgee
|
|
libnotify
|
|
libunity
|
|
pango
|
|
plank
|
|
sqlite
|
|
zeitgeist
|
|
];
|
|
|
|
patches = [ ./hardcode-gsettings.patch ];
|
|
|
|
postPatch = ''
|
|
chmod +x meson/post_install.py
|
|
patchShebangs meson/post_install.py
|
|
|
|
substituteInPlace filechooser-module/FileChooserDialog.vala --subst-var-by ELEMENTARY_FILES_GSETTINGS_PATH $out/share/gsettings-schemas/${name}/glib-2.0/schemas
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "File browser designed for elementary OS";
|
|
homepage = https://github.com/elementary/files;
|
|
license = licenses.lgpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = pantheon.maintainers;
|
|
};
|
|
}
|