2014-09-20 19:20:19 +01:00
|
|
|
{ stdenv, fetchurl, glib, gtk, intltool, menu-cache, pango, pkgconfig, vala
|
|
|
|
, extraOnly ? false }:
|
|
|
|
let name = "libfm-1.2.2.1";
|
|
|
|
inherit (stdenv.lib) optional;
|
|
|
|
in
|
2014-03-01 18:37:39 +00:00
|
|
|
stdenv.mkDerivation {
|
2014-09-20 19:20:19 +01:00
|
|
|
name = if extraOnly then "libfm-extra-1.2.2.1" else "libfm-1.2.2.1";
|
2014-03-01 18:37:39 +00:00
|
|
|
src = fetchurl {
|
2014-09-20 19:20:19 +01:00
|
|
|
url = "mirror://sourceforge/pcmanfm/libfm-1.2.2.1.tar.xz";
|
|
|
|
sha256 = "0aa37arr0h2nppjh7ppf00np2d8mb43imvfq9b7wq5cnzpvs7c6v";
|
2014-03-01 18:37:39 +00:00
|
|
|
};
|
|
|
|
|
2014-09-20 19:20:19 +01:00
|
|
|
buildInputs = [ glib gtk intltool pango pkgconfig vala ]
|
|
|
|
++ optional (!extraOnly) menu-cache;
|
|
|
|
|
|
|
|
configureFlags = optional extraOnly "--with-extra-only";
|
2014-03-01 18:37:39 +00:00
|
|
|
|
2014-03-07 17:20:18 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-03-01 18:37:39 +00:00
|
|
|
homepage = "http://blog.lxde.org/?cat=28/";
|
2014-03-07 17:20:18 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2014-03-01 18:37:39 +00:00
|
|
|
description = "A glib-based library for file management";
|
2014-03-07 17:20:18 +00:00
|
|
|
maintainers = [ maintainers.ttuegel ];
|
|
|
|
platforms = platforms.linux;
|
2014-03-01 18:37:39 +00:00
|
|
|
};
|
|
|
|
}
|