4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{ lib, stdenv, fetchurl, pkgconfig, autoconf, automake, gettext
|
|
, fluxbox, bc, gtkmm2, glibmm, libglademm, libsigcxx }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fme";
|
|
version = "1.1.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/rdehouss/fme/archive/v${version}.tar.gz";
|
|
sha256 = "d1c81a6a38c0faad02943ad65d6d0314bd205c6de841669a2efe43e4c503e63d";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ autoconf automake gettext fluxbox bc gtkmm2 glibmm libglademm libsigcxx ];
|
|
|
|
preConfigure = ''
|
|
./autogen.sh
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Editor for Fluxbox menus";
|
|
longDescription = ''
|
|
Fluxbox Menu Editor is a menu editor for the Window Manager Fluxbox written in C++
|
|
with the libraries Gtkmm, Glibmm, libglademm and gettext for internationalization.
|
|
Its user-friendly interface will help you to edit, delete, move (Drag and Drop)
|
|
a row, a submenu, etc very easily.
|
|
'';
|
|
homepage = "https://github.com/rdehouss/fme/";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|