summary refs log tree commit diff
path: root/pkgs/development/libraries/libfm
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2014-09-20 13:20:19 -0500
committerThomas Tuegel <ttuegel@gmail.com>2014-09-20 13:20:19 -0500
commitcfcf643bb9e42beaad20b17754b471d586c6e21e (patch)
tree40f44c63b8c4a44114dd7d00d906bda6ac8e9b17 /pkgs/development/libraries/libfm
parent1cbcd2baae7d4dae340fb09fe3690876c7935186 (diff)
downloadnixlib-cfcf643bb9e42beaad20b17754b471d586c6e21e.tar
nixlib-cfcf643bb9e42beaad20b17754b471d586c6e21e.tar.gz
nixlib-cfcf643bb9e42beaad20b17754b471d586c6e21e.tar.bz2
nixlib-cfcf643bb9e42beaad20b17754b471d586c6e21e.tar.lz
nixlib-cfcf643bb9e42beaad20b17754b471d586c6e21e.tar.xz
nixlib-cfcf643bb9e42beaad20b17754b471d586c6e21e.tar.zst
nixlib-cfcf643bb9e42beaad20b17754b471d586c6e21e.zip
Version bump: libfm-1.2.2.1 and menu-cache-0.7.0
Diffstat (limited to 'pkgs/development/libraries/libfm')
-rw-r--r--pkgs/development/libraries/libfm/default.nix18
1 files changed, 12 insertions, 6 deletions
diff --git a/pkgs/development/libraries/libfm/default.nix b/pkgs/development/libraries/libfm/default.nix
index 7a005c9fda2a..9f42a1c8c3e8 100644
--- a/pkgs/development/libraries/libfm/default.nix
+++ b/pkgs/development/libraries/libfm/default.nix
@@ -1,13 +1,19 @@
-{ stdenv, fetchurl, glib, gtk, intltool, menu-cache, pango, pkgconfig, vala }:
-
+{ stdenv, fetchurl, glib, gtk, intltool, menu-cache, pango, pkgconfig, vala
+, extraOnly ? false }:
+let name = "libfm-1.2.2.1";
+    inherit (stdenv.lib) optional;
+in
 stdenv.mkDerivation {
-  name = "libfm-1.2.0";
+  name = if extraOnly then "libfm-extra-1.2.2.1" else "libfm-1.2.2.1";
   src = fetchurl {
-    url = "mirror://sourceforge/pcmanfm/libfm-1.2.0.tar.xz";
-    sha256 = "08pwdrmfm9rl41lj2niyjqq2bdvydxk7v2shjxh5gk1xwj238lgh";
+    url = "mirror://sourceforge/pcmanfm/libfm-1.2.2.1.tar.xz";
+    sha256 = "0aa37arr0h2nppjh7ppf00np2d8mb43imvfq9b7wq5cnzpvs7c6v";
   };
 
-  buildInputs = [ glib gtk intltool menu-cache pango pkgconfig vala ];
+  buildInputs = [ glib gtk intltool pango pkgconfig vala ]
+                ++ optional (!extraOnly) menu-cache;
+
+  configureFlags = optional extraOnly "--with-extra-only";
 
   meta = with stdenv.lib; {
     homepage = "http://blog.lxde.org/?cat=28/";