2016-09-11 21:24:51 +00:00
|
|
|
{ stdenv, fetchurl, glib, gtk2, intltool, menu-cache, pango, pkgconfig, vala_0_23
|
2014-09-20 18:20:19 +00:00
|
|
|
, extraOnly ? false }:
|
2014-11-14 23:07:00 +00:00
|
|
|
let
|
2014-09-20 18:20:19 +00:00
|
|
|
inherit (stdenv.lib) optional;
|
|
|
|
in
|
2016-04-11 17:41:57 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = if extraOnly
|
|
|
|
then "libfm-extra-${version}"
|
|
|
|
else "libfm-${version}";
|
|
|
|
version = "1.2.4";
|
|
|
|
|
2014-03-01 18:37:39 +00:00
|
|
|
src = fetchurl {
|
2016-04-11 17:41:57 +00:00
|
|
|
url = "mirror://sourceforge/pcmanfm/libfm-${version}.tar.xz";
|
|
|
|
sha256 = "0bsh4p7h2glhxf1cc1lvbxyb4qy0y1zsnl9izf7vrldkikrgc13q";
|
2014-03-01 18:37:39 +00:00
|
|
|
};
|
|
|
|
|
2016-09-11 21:24:51 +00:00
|
|
|
buildInputs = [ glib gtk2 intltool pango pkgconfig vala_0_23 ]
|
2014-09-20 18:20:19 +00:00
|
|
|
++ 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-11-14 23:07:00 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
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
|
|
|
};
|
|
|
|
}
|