expidus.file-manager: init at 0.1.2

This commit is contained in:
Tristan Ross 2023-06-13 18:18:59 -07:00
parent 7403dd3fe2
commit 27c3ccab53
No known key found for this signature in database
GPG key ID: F84E209AA7280534
4 changed files with 1070 additions and 0 deletions

View file

@ -0,0 +1,4 @@
{ callPackage }:
{
file-manager = callPackage ./file-manager {};
}

View file

@ -0,0 +1,41 @@
{ lib, flutter, fetchFromGitHub }:
flutter.buildFlutterApplication rec {
pname = "expidus-file-manager";
version = "0.1.2";
src = fetchFromGitHub {
owner = "ExpidusOS";
repo = "file-manager";
rev = version;
sha256 = "sha256-aAPmwzNPgu08Ov9NyRW5bcj3jQzG9rpWwrABRyK2Weg=";
};
depsListFile = ./deps.json;
vendorHash = "sha256-mPGrpMUguM9XAYWH8lBQuytxZ3J0gS2XOMPkKyFMLbc=";
postInstall = ''
rm $out/bin/file_manager
ln -s $out/app/file_manager $out/bin/expidus-file-manager
mkdir -p $out/share/applications
mv $out/app/data/com.expidusos.file_manager.desktop $out/share/applications
mkdir -p $out/share/icons
mv $out/app/data/com.expidusos.file_manager.png $out/share/icons
mkdir -p $out/share/metainfo
mv $out/app/data/com.expidusos.file_manager.metainfo.xml $out/share/metainfo
substituteInPlace "$out/share/applications/com.expidusos.file_manager.desktop" \
--replace "Exec=file_manager" "Exec=$out/bin/expidus-file-manager" \
--replace "Icon=com.expidusos.file_manager" "Icon=$out/share/icons/com.expidusos.file_manager.png"
'';
meta = with lib; {
description = "ExpidusOS File Manager";
homepage = "https://expidusos.com";
license = licenses.gpl3;
maintainers = with maintainers; [ RossComputerGuy ];
platforms = [ "x86_64-linux" "aarch64-linux" ];
};
}

File diff suppressed because it is too large Load diff

View file

@ -37554,6 +37554,8 @@ with pkgs;
enlightenment = recurseIntoAttrs (callPackage ../desktops/enlightenment { });
expidus = recurseIntoAttrs (callPackage ../desktops/expidus {});
gnome2 = recurseIntoAttrs (callPackage ../desktops/gnome-2 { });
gnome = recurseIntoAttrs (callPackage ../desktops/gnome { });