fme: refactor

This commit is contained in:
AndersonTorres 2021-04-25 14:48:35 -03:00
parent 7845989118
commit 9066cb97fe

View file

@ -1,33 +1,56 @@
{ lib, stdenv, fetchurl, pkg-config, autoconf, automake, gettext { lib
, fluxbox, bc, gtkmm2, glibmm, libglademm, libsigcxx }: , stdenv
, fetchurl
, autoconf
, automake
, bc
, fluxbox
, gettext
, glibmm
, gtkmm2
, libglademm
, libsigcxx
, pkg-config
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "fme"; pname = "fme";
version = "1.1.3"; version = "1.1.3";
src = fetchurl { src = fetchurl {
url = "https://github.com/rdehouss/fme/archive/v${version}.tar.gz"; url = "https://github.com/rdehouss/fme/archive/v${version}.tar.gz";
sha256 = "d1c81a6a38c0faad02943ad65d6d0314bd205c6de841669a2efe43e4c503e63d"; hash = "sha256-0cgaajjA+q0ClDrWXW0DFL0gXG3oQWaaLv5D5MUD5j0=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [
buildInputs = [ autoconf automake gettext fluxbox bc gtkmm2 glibmm libglademm libsigcxx ]; autoconf
automake
gettext
pkg-config
];
buildInputs = [
bc
fluxbox
glibmm
gtkmm2
libglademm
libsigcxx
];
preConfigure = '' preConfigure = ''
./autogen.sh ./autogen.sh
''; '';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/rdehouss/fme/";
description = "Editor for Fluxbox menus"; description = "Editor for Fluxbox menus";
longDescription = '' longDescription = ''
Fluxbox Menu Editor is a menu editor for the Window Manager Fluxbox written in C++ Fluxbox Menu Editor is a menu editor for the Window Manager Fluxbox
with the libraries Gtkmm, Glibmm, libglademm and gettext for internationalization. written in C++ with the libraries Gtkmm, Glibmm, libglademm and gettext
Its user-friendly interface will help you to edit, delete, move (Drag and Drop) for internationalization. Its user-friendly interface will help you to
a row, a submenu, etc very easily. edit, delete, move (Drag and Drop) a row, a submenu, etc very easily.
''; '';
homepage = "https://github.com/rdehouss/fme/"; license = licenses.gpl2Plus;
license = licenses.gpl2;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux; platforms = platforms.linux;
}; };