Unverified Commit b3de7202 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #165970 from sersorrel/eiciel

parents 9dd71d8c a87f6f9b
Loading
Loading
Loading
Loading
+56 −0
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, stdenv
, acl
, gnome
, gtkmm3
, meson
, ninja
, pkg-config
, wrapGAppsHook
}:

stdenv.mkDerivation rec {
  pname = "eiciel";
  version = "0.9.13.1";

  outputs = [ "out" "nautilusExtension" ];

  src = fetchFromGitHub {
    owner = "rofirrim";
    repo = "eiciel";
    rev = version;
    sha256 = "0rhhw0h1hyg5kvxhjxkdz03vylgax6912mg8j4lvcz6wlsa4wkvj";
  };

  nativeBuildInputs = [
    meson
    ninja
    pkg-config
    wrapGAppsHook
  ];

  buildInputs = [
    acl
    gtkmm3
    gnome.nautilus
  ];

  mesonFlags = [
    "-Dnautilus-extension-dir=${placeholder "nautilusExtension"}/lib/nautilus/extensions-3.0"
  ];

  postPatch = ''
    substituteInPlace meson.build --replace "compiler.find_library('libacl')" "compiler.find_library('acl')"
    chmod +x img/install_icons.sh
    patchShebangs img/install_icons.sh
  '';

  meta = with lib; {
    description = "Graphical editor for ACLs and extended attributes";
    homepage = "https://rofi.roger-ferrer.org/eiciel/";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ sersorrel ];
    platforms = platforms.linux;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -33379,6 +33379,8 @@ with pkgs;
  dosbox-staging = callPackage ../applications/emulators/dosbox-staging { };
  eiciel = callPackage ../tools/filesystems/eiciel { };
  emu2 = callPackage ../applications/emulators/emu2 { };
  apt = callPackage ../tools/package-management/apt { };