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

26 lines
842 B
Nix
Raw Normal View History

{ 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 {
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 {
url = "mirror://sourceforge/pcmanfm/libfm-1.2.2.1.tar.xz";
sha256 = "0aa37arr0h2nppjh7ppf00np2d8mb43imvfq9b7wq5cnzpvs7c6v";
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/";
license = licenses.gpl2Plus;
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
};
}