Merge pull request #120625 from AndersonTorres/quick-modifications

Updates

ftgl: 2.1.3-rc5 -> 2.4.0;
cimg: 2.9.6 -> 2.9.7;
dialog: 1.3-2210306 -> 1.3-2210324;
docutils: 0.16 -> 0.17.1;
fme: refactor

authored by Anderson Torres and committed by GitHub b1c9917f 11c7219d

+80 -33
+35 -12
pkgs/applications/misc/fme/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, autoconf, automake, gettext 2 - , fluxbox, bc, gtkmm2, glibmm, libglademm, libsigcxx }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , autoconf 5 + , automake 6 + , bc 7 + , fluxbox 8 + , gettext 9 + , glibmm 10 + , gtkmm2 11 + , libglademm 12 + , libsigcxx 13 + , pkg-config 14 + }: 3 15 4 16 stdenv.mkDerivation rec { 5 - 6 17 pname = "fme"; 7 18 version = "1.1.3"; 8 19 9 20 src = fetchurl { 10 21 url = "https://github.com/rdehouss/fme/archive/v${version}.tar.gz"; 11 - sha256 = "d1c81a6a38c0faad02943ad65d6d0314bd205c6de841669a2efe43e4c503e63d"; 22 + hash = "sha256-0cgaajjA+q0ClDrWXW0DFL0gXG3oQWaaLv5D5MUD5j0="; 12 23 }; 13 24 14 - nativeBuildInputs = [ pkg-config ]; 15 - buildInputs = [ autoconf automake gettext fluxbox bc gtkmm2 glibmm libglademm libsigcxx ]; 25 + nativeBuildInputs = [ 26 + autoconf 27 + automake 28 + gettext 29 + pkg-config 30 + ]; 31 + buildInputs = [ 32 + bc 33 + fluxbox 34 + glibmm 35 + gtkmm2 36 + libglademm 37 + libsigcxx 38 + ]; 16 39 17 40 preConfigure = '' 18 41 ./autogen.sh 19 42 ''; 20 43 21 44 meta = with lib; { 45 + homepage = "https://github.com/rdehouss/fme/"; 22 46 description = "Editor for Fluxbox menus"; 23 47 longDescription = '' 24 - Fluxbox Menu Editor is a menu editor for the Window Manager Fluxbox written in C++ 25 - with the libraries Gtkmm, Glibmm, libglademm and gettext for internationalization. 26 - Its user-friendly interface will help you to edit, delete, move (Drag and Drop) 27 - a row, a submenu, etc very easily. 48 + Fluxbox Menu Editor is a menu editor for the Window Manager Fluxbox 49 + written in C++ with the libraries Gtkmm, Glibmm, libglademm and gettext 50 + for internationalization. Its user-friendly interface will help you to 51 + edit, delete, move (Drag and Drop) a row, a submenu, etc very easily. 28 52 ''; 29 - homepage = "https://github.com/rdehouss/fme/"; 30 - license = licenses.gpl2; 53 + license = licenses.gpl2Plus; 31 54 maintainers = [ maintainers.AndersonTorres ]; 32 55 platforms = platforms.linux; 33 56 };
+9 -5
pkgs/development/libraries/cimg/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + }: 2 5 3 6 stdenv.mkDerivation rec { 4 7 pname = "cimg"; 5 - version = "2.9.6"; 8 + version = "2.9.7"; 6 9 7 10 src = fetchFromGitHub { 8 11 owner = "dtschump"; 9 12 repo = "CImg"; 10 13 rev = "v.${version}"; 11 - sha256 = "sha256-RdOfog5FOw5XESyDFX68Lb2MUyCeUuPaq/0UVNTjNKo="; 14 + sha256 = "sha256-cR2wvGtomT1cZh8wKMCfYDNuP3d1gKhHJavVnvuQ8Mc="; 12 15 }; 13 16 14 17 installPhase = '' 18 + runHook preInstall 15 19 install -dm 755 $out/include/CImg/plugins $doc/share/doc/cimg/examples 16 - 17 20 install -m 644 CImg.h $out/include/ 18 21 cp -dr --no-preserve=ownership examples/* $doc/share/doc/cimg/examples/ 19 22 cp -dr --no-preserve=ownership plugins/* $out/include/CImg/plugins/ 20 23 cp README.txt $doc/share/doc/cimg/ 24 + runHook postInstall 21 25 ''; 22 26 23 27 outputs = [ "out" "doc" ]; 24 28 25 29 meta = with lib; { 30 + homepage = "http://cimg.eu/"; 26 31 description = "A small, open source, C++ toolkit for image processing"; 27 32 longDescription = '' 28 33 CImg stands for Cool Image. It is easy to use, efficient and is intended ··· 30 35 C++. Due to its generic conception, it can cover a wide range of image 31 36 processing applications. 32 37 ''; 33 - homepage = "http://cimg.eu/"; 34 38 license = licenses.cecill-c; 35 39 maintainers = [ maintainers.AndersonTorres ]; 36 40 platforms = platforms.unix;
+26 -7
pkgs/development/libraries/ftgl/default.nix
··· 1 1 { lib 2 2 , stdenv 3 - , fetchurl 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + , doxygen 6 + , freeglut 4 7 , freetype 8 + , GLUT 5 9 , libGL 6 10 , libGLU 7 11 , OpenGL 12 + , pkg-config 8 13 }: 9 14 10 15 stdenv.mkDerivation rec { 11 16 pname = "ftgl"; 12 - version = "2.1.3-rc5"; 17 + version = "2.4.0"; 13 18 14 - src = fetchurl { 15 - url = "mirror://sourceforge/${pname}-${version}.tar.gz"; 16 - hash = "sha256-VFjWISJFSGlXLTn4qoV0X8BdVRgAG876Y71su40mVls="; 19 + src = fetchFromGitHub { 20 + owner = "frankheckenbach"; 21 + repo = "ftgl"; 22 + rev = "v${version}"; 23 + hash = "sha256-6TDNGoMeBLnucmHRgEDIVWcjlJb7N0sTluqBwRMMWn4="; 17 24 }; 18 25 26 + nativeBuildInputs = [ 27 + autoreconfHook 28 + doxygen 29 + pkg-config 30 + ]; 19 31 buildInputs = [ 20 32 freetype 21 33 ] ++ (if stdenv.isDarwin then [ 22 34 OpenGL 35 + GLUT 23 36 ] else [ 24 37 libGL 25 38 libGLU 39 + freeglut 26 40 ]); 27 41 28 42 configureFlags = [ ··· 31 45 32 46 enableParallelBuilding = true; 33 47 48 + postInstall = '' 49 + install -Dm644 src/FTSize.h -t ${placeholder "out"}/include/FTGL 50 + install -Dm644 src/FTFace.h -t ${placeholder "out"}/include/FTGL 51 + ''; 52 + 34 53 meta = with lib; { 35 - homepage = "https://sourceforge.net/apps/mediawiki/ftgl/"; 54 + homepage = "https://github.com/frankheckenbach/ftgl"; 36 55 description = "Font rendering library for OpenGL applications"; 37 56 longDescription = '' 38 57 FTGL is a free cross-platform Open Source C++ library that uses Freetype2 ··· 40 59 pixmaps, texture maps, outlines, polygon mesh, and extruded polygon 41 60 rendering modes. 42 61 ''; 43 - license = licenses.gpl3Plus; 62 + license = licenses.mit; 44 63 maintainers = with maintainers; [ AndersonTorres ]; 45 64 platforms = platforms.unix; 46 65 };
+3 -4
pkgs/development/python-modules/docutils/default.nix
··· 3 3 , fetchPypi 4 4 , buildPythonPackage 5 5 , isPy3k 6 - , isPy38 7 6 , python 8 7 }: 9 8 10 9 buildPythonPackage rec { 11 10 pname = "docutils"; 12 - version = "0.16"; 11 + version = "0.17.1"; 13 12 14 13 src = fetchPypi { 15 14 inherit pname version; 16 - sha256 = "c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc"; 15 + hash = "sha256-aGV30uTDI4C7UMuyL1de10LVgWjO436ZEXqFS82I8SU="; 17 16 }; 18 17 19 18 # Only Darwin needs LANG, but we could set it in general. ··· 30 29 ''; 31 30 32 31 meta = with lib; { 33 - description = "Python Documentation Utilities"; 34 32 homepage = "http://docutils.sourceforge.net/"; 33 + description = "Python Documentation Utilities"; 35 34 license = with licenses; [ publicDomain bsd2 psfl gpl3Plus ]; 36 35 maintainers = with maintainers; [ AndersonTorres ]; 37 36 };
+5 -3
pkgs/development/tools/misc/dialog/default.nix pkgs/tools/misc/dialog/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "dialog"; 15 - version = "1.3-20210306"; 15 + version = "1.3-20210324"; 16 16 17 17 src = fetchurl { 18 18 url = "ftp://ftp.invisible-island.net/dialog/${pname}-${version}.tgz"; 19 - hash = "sha256-pz57YHtjX2PAICuzMTEG5wD5H+Sp9NJspwA/brK5yw8="; 19 + hash = "sha256-AcLR4umvmwg+ogDKrQhP39pVF41bv05Cyf/0STUVFlM="; 20 20 }; 21 21 22 - buildInputs = [ ncurses ]; 22 + buildInputs = [ 23 + ncurses 24 + ]; 23 25 24 26 configureFlags = [ 25 27 "--disable-rpath-hacks"
+2 -2
pkgs/top-level/all-packages.nix
··· 2274 2274 inherit (haskellPackages) ghcWithPackages diagrams-builder; 2275 2275 }; 2276 2276 2277 - dialog = callPackage ../development/tools/misc/dialog { }; 2277 + dialog = callPackage ../tools/misc/dialog { }; 2278 2278 2279 2279 dibbler = callPackage ../tools/networking/dibbler { }; 2280 2280 ··· 4649 4649 frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { }; 4650 4650 4651 4651 ftgl = callPackage ../development/libraries/ftgl { 4652 - inherit (darwin.apple_sdk.frameworks) OpenGL; 4652 + inherit (darwin.apple_sdk.frameworks) OpenGL GLUT; 4653 4653 }; 4654 4654 4655 4655 ftop = callPackage ../os-specific/linux/ftop { };