mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
30 lines
863 B
Nix
30 lines
863 B
Nix
{ stdenv, fetchurl, glib, gtk, intltool, menu-cache, pango, pkgconfig, vala
|
|
, extraOnly ? false }:
|
|
let
|
|
inherit (stdenv.lib) optional;
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = if extraOnly
|
|
then "libfm-extra-${version}"
|
|
else "libfm-${version}";
|
|
version = "1.2.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/pcmanfm/libfm-${version}.tar.xz";
|
|
sha256 = "0bsh4p7h2glhxf1cc1lvbxyb4qy0y1zsnl9izf7vrldkikrgc13q";
|
|
};
|
|
|
|
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/";
|
|
license = licenses.lgpl21Plus;
|
|
description = "A glib-based library for file management";
|
|
maintainers = [ maintainers.ttuegel ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|