3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libfm/default.nix

26 lines
814 B
Nix
Raw Normal View History

{ stdenv, fetchurl, glib, gtk, intltool, menu-cache, pango, pkgconfig, vala
, extraOnly ? false }:
2014-11-14 23:07:00 +00:00
let
inherit (stdenv.lib) optional;
in
2014-03-01 18:37:39 +00:00
stdenv.mkDerivation {
2014-11-14 23:07:00 +00:00
name = if extraOnly then "libfm-extra-1.2.3" else "libfm-1.2.3";
2014-03-01 18:37:39 +00:00
src = fetchurl {
2014-11-14 23:07:00 +00:00
url = "mirror://sourceforge/pcmanfm/libfm-1.2.3.tar.xz";
sha256 = "1ygvw52262r3jp1f45m9cdpx5xgvd4rkyfszslfqvg2c99ig34n6";
2014-03-01 18:37:39 +00: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
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";
maintainers = [ maintainers.ttuegel ];
platforms = platforms.linux;
2014-03-01 18:37:39 +00:00
};
}