depot/third_party/nixpkgs/pkgs/tools/filesystems/eiciel/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

61 lines
1.1 KiB
Nix

{ lib
, fetchFromGitHub
, stdenv
, acl
, gnome
, glibmm_2_68
, gtkmm4
, meson
, ninja
, pkg-config
, itstool
, wrapGAppsHook4
, gtk4
}:
stdenv.mkDerivation rec {
pname = "eiciel";
version = "0.10.0-rc2";
outputs = [ "out" "nautilusExtension" ];
src = fetchFromGitHub {
owner = "rofirrim";
repo = "eiciel";
rev = version;
sha256 = "+MXoT6J4tKuFaSvUTcM15cKWLUnS0kYgBfqH+5lz6KY=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
itstool
wrapGAppsHook4
gtk4
];
buildInputs = [
acl
glibmm_2_68
gtkmm4
gnome.nautilus
];
mesonFlags = [
"-Dnautilus-extension-dir=${placeholder "nautilusExtension"}/lib/nautilus/extensions-4"
];
postPatch = ''
# https://github.com/rofirrim/eiciel/pull/9
substituteInPlace meson.build --replace "compiler.find_library('libacl')" "compiler.find_library('acl')"
'';
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;
};
}