mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
61 lines
1.0 KiB
Nix
61 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
glib,
|
|
intltool,
|
|
libfm,
|
|
libx11,
|
|
pango,
|
|
pkg-config,
|
|
wrapGAppsHook3,
|
|
adwaita-icon-theme,
|
|
gtk3,
|
|
gettext,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "pcmanfm";
|
|
version = "1.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxde";
|
|
repo = "pcmanfm";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-4kJDCnld//Vbe2KbrLoYZJ/dutagY/GImoOnbpQIdDY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
intltool
|
|
autoreconfHook
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk3
|
|
libfm
|
|
libx11
|
|
pango
|
|
adwaita-icon-theme
|
|
];
|
|
|
|
env.ACLOCAL = "aclocal -I ${gettext}/share/gettext/m4";
|
|
|
|
configureFlags = [ "--with-gtk=3" ];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lxde/pcmanfm";
|
|
license = lib.licenses.gpl2Plus;
|
|
description = "File manager with GTK interface";
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "pcmanfm";
|
|
};
|
|
})
|