nixpkgs/pkgs/development/libraries/libfm/default.nix
R. RyanTM e05099fdde libfm-extra: 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/libfm-extra/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 1.3.0 with grep in /nix/store/jfppsgl453gipb6vx66y4pcssxd7fq54-libfm-extra-1.3.0
- directory tree listing: https://gist.github.com/74991e480da532d6ef49f6fb5727d564
2018-04-24 12:14:08 -07:00

35 lines
1.1 KiB
Nix

{ stdenv, fetchurl, glib, intltool, menu-cache, pango, pkgconfig, vala_0_34
, extraOnly ? false
, withGtk3 ? false, gtk2, gtk3 }:
let
gtk = if withGtk3 then gtk3 else gtk2;
inherit (stdenv.lib) optional;
in
stdenv.mkDerivation rec {
name = if extraOnly
then "libfm-extra-${version}"
else "libfm-${version}";
version = "1.3.0";
src = fetchurl {
url = "mirror://sourceforge/pcmanfm/libfm-${version}.tar.xz";
sha256 = "151jyy8ipmp2h829gd9s4s429qafv1zxl7j6zaj1k1gzm9s5rmnb";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib gtk intltool pango vala_0_34 ]
++ optional (!extraOnly) menu-cache;
configureFlags = [ (optional extraOnly "--with-extra-only")
(optional withGtk3 "--with-gtk=3") ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = http://blog.lxde.org/?cat=28/;
license = licenses.lgpl21Plus;
description = "A glib-based library for file management";
maintainers = [ maintainers.ttuegel ];
platforms = platforms.linux ++ platforms.darwin;
};
}