1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/applications/misc/pcmanfm/default.nix
R. RyanTM 3c546c2da9 pcmanfm: 1.2.5 -> 1.3.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/pcmanfm/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0/bin/pcmanfm -h’ got 0 exit code
- ran ‘/nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0/bin/pcmanfm --help’ got 0 exit code
- ran ‘/nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0/bin/.pcmanfm-wrapped -h’ got 0 exit code
- ran ‘/nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0/bin/.pcmanfm-wrapped --help’ got 0 exit code
- found 1.3.0 with grep in /nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0
- directory tree listing: https://gist.github.com/f15deaa66af5124a632abbca797f7240
2018-04-24 10:20:14 -07:00

29 lines
891 B
Nix

{ stdenv, fetchurl, glib, intltool, libfm, libX11, pango, pkgconfig
, wrapGAppsHook, gnome3, withGtk3 ? true, gtk2, gtk3 }:
let
libfm' = libfm.override { inherit withGtk3; };
gtk = if withGtk3 then gtk3 else gtk2;
inherit (stdenv.lib) optional;
in
stdenv.mkDerivation rec {
name = "pcmanfm-1.3.0";
src = fetchurl {
url = "mirror://sourceforge/pcmanfm/${name}.tar.xz";
sha256 = "1ywgfyklms5hqkapsbjps4kyx20ac0d1qk16ww74yagkyfdkwsas";
};
buildInputs = [ glib gtk libfm' libX11 pango gnome3.defaultIconTheme ];
nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool ];
configureFlags = optional withGtk3 "--with-gtk=3";
meta = with stdenv.lib; {
homepage = http://blog.lxde.org/?cat=28/;
license = licenses.gpl2Plus;
description = "File manager with GTK+ interface";
maintainers = [ maintainers.ttuegel ];
platforms = platforms.linux;
};
}