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
This commit is contained in:
Anderson Torres 2021-04-25 18:43:59 -03:00 committed by GitHub
commit b1c9917f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 80 additions and 33 deletions

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;
}; };

View File

@ -1,28 +1,33 @@
{ lib, stdenv, fetchFromGitHub }: { lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cimg"; pname = "cimg";
version = "2.9.6"; version = "2.9.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dtschump"; owner = "dtschump";
repo = "CImg"; repo = "CImg";
rev = "v.${version}"; rev = "v.${version}";
sha256 = "sha256-RdOfog5FOw5XESyDFX68Lb2MUyCeUuPaq/0UVNTjNKo="; sha256 = "sha256-cR2wvGtomT1cZh8wKMCfYDNuP3d1gKhHJavVnvuQ8Mc=";
}; };
installPhase = '' installPhase = ''
runHook preInstall
install -dm 755 $out/include/CImg/plugins $doc/share/doc/cimg/examples install -dm 755 $out/include/CImg/plugins $doc/share/doc/cimg/examples
install -m 644 CImg.h $out/include/ install -m 644 CImg.h $out/include/
cp -dr --no-preserve=ownership examples/* $doc/share/doc/cimg/examples/ cp -dr --no-preserve=ownership examples/* $doc/share/doc/cimg/examples/
cp -dr --no-preserve=ownership plugins/* $out/include/CImg/plugins/ cp -dr --no-preserve=ownership plugins/* $out/include/CImg/plugins/
cp README.txt $doc/share/doc/cimg/ cp README.txt $doc/share/doc/cimg/
runHook postInstall
''; '';
outputs = [ "out" "doc" ]; outputs = [ "out" "doc" ];
meta = with lib; { meta = with lib; {
homepage = "http://cimg.eu/";
description = "A small, open source, C++ toolkit for image processing"; description = "A small, open source, C++ toolkit for image processing";
longDescription = '' longDescription = ''
CImg stands for Cool Image. It is easy to use, efficient and is intended CImg stands for Cool Image. It is easy to use, efficient and is intended
@ -30,7 +35,6 @@ stdenv.mkDerivation rec {
C++. Due to its generic conception, it can cover a wide range of image C++. Due to its generic conception, it can cover a wide range of image
processing applications. processing applications.
''; '';
homepage = "http://cimg.eu/";
license = licenses.cecill-c; license = licenses.cecill-c;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.unix; platforms = platforms.unix;

View File

@ -1,28 +1,42 @@
{ lib { lib
, stdenv , stdenv
, fetchurl , fetchFromGitHub
, autoreconfHook
, doxygen
, freeglut
, freetype , freetype
, GLUT
, libGL , libGL
, libGLU , libGLU
, OpenGL , OpenGL
, pkg-config
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ftgl"; pname = "ftgl";
version = "2.1.3-rc5"; version = "2.4.0";
src = fetchurl { src = fetchFromGitHub {
url = "mirror://sourceforge/${pname}-${version}.tar.gz"; owner = "frankheckenbach";
hash = "sha256-VFjWISJFSGlXLTn4qoV0X8BdVRgAG876Y71su40mVls="; repo = "ftgl";
rev = "v${version}";
hash = "sha256-6TDNGoMeBLnucmHRgEDIVWcjlJb7N0sTluqBwRMMWn4=";
}; };
nativeBuildInputs = [
autoreconfHook
doxygen
pkg-config
];
buildInputs = [ buildInputs = [
freetype freetype
] ++ (if stdenv.isDarwin then [ ] ++ (if stdenv.isDarwin then [
OpenGL OpenGL
GLUT
] else [ ] else [
libGL libGL
libGLU libGLU
freeglut
]); ]);
configureFlags = [ configureFlags = [
@ -31,8 +45,13 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
postInstall = ''
install -Dm644 src/FTSize.h -t ${placeholder "out"}/include/FTGL
install -Dm644 src/FTFace.h -t ${placeholder "out"}/include/FTGL
'';
meta = with lib; { meta = with lib; {
homepage = "https://sourceforge.net/apps/mediawiki/ftgl/"; homepage = "https://github.com/frankheckenbach/ftgl";
description = "Font rendering library for OpenGL applications"; description = "Font rendering library for OpenGL applications";
longDescription = '' longDescription = ''
FTGL is a free cross-platform Open Source C++ library that uses Freetype2 FTGL is a free cross-platform Open Source C++ library that uses Freetype2
@ -40,7 +59,7 @@ stdenv.mkDerivation rec {
pixmaps, texture maps, outlines, polygon mesh, and extruded polygon pixmaps, texture maps, outlines, polygon mesh, and extruded polygon
rendering modes. rendering modes.
''; '';
license = licenses.gpl3Plus; license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ]; maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix; platforms = platforms.unix;
}; };

View File

@ -3,17 +3,16 @@
, fetchPypi , fetchPypi
, buildPythonPackage , buildPythonPackage
, isPy3k , isPy3k
, isPy38
, python , python
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "docutils"; pname = "docutils";
version = "0.16"; version = "0.17.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc"; hash = "sha256-aGV30uTDI4C7UMuyL1de10LVgWjO436ZEXqFS82I8SU=";
}; };
# Only Darwin needs LANG, but we could set it in general. # Only Darwin needs LANG, but we could set it in general.
@ -30,8 +29,8 @@ buildPythonPackage rec {
''; '';
meta = with lib; { meta = with lib; {
description = "Python Documentation Utilities";
homepage = "http://docutils.sourceforge.net/"; homepage = "http://docutils.sourceforge.net/";
description = "Python Documentation Utilities";
license = with licenses; [ publicDomain bsd2 psfl gpl3Plus ]; license = with licenses; [ publicDomain bsd2 psfl gpl3Plus ];
maintainers = with maintainers; [ AndersonTorres ]; maintainers = with maintainers; [ AndersonTorres ];
}; };

View File

@ -12,14 +12,16 @@ assert unicodeSupport -> ncurses.unicode && ncurses != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dialog"; pname = "dialog";
version = "1.3-20210306"; version = "1.3-20210324";
src = fetchurl { src = fetchurl {
url = "ftp://ftp.invisible-island.net/dialog/${pname}-${version}.tgz"; url = "ftp://ftp.invisible-island.net/dialog/${pname}-${version}.tgz";
hash = "sha256-pz57YHtjX2PAICuzMTEG5wD5H+Sp9NJspwA/brK5yw8="; hash = "sha256-AcLR4umvmwg+ogDKrQhP39pVF41bv05Cyf/0STUVFlM=";
}; };
buildInputs = [ ncurses ]; buildInputs = [
ncurses
];
configureFlags = [ configureFlags = [
"--disable-rpath-hacks" "--disable-rpath-hacks"

View File

@ -2274,7 +2274,7 @@ in
inherit (haskellPackages) ghcWithPackages diagrams-builder; inherit (haskellPackages) ghcWithPackages diagrams-builder;
}; };
dialog = callPackage ../development/tools/misc/dialog { }; dialog = callPackage ../tools/misc/dialog { };
dibbler = callPackage ../tools/networking/dibbler { }; dibbler = callPackage ../tools/networking/dibbler { };
@ -4649,7 +4649,7 @@ in
frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { }; frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { };
ftgl = callPackage ../development/libraries/ftgl { ftgl = callPackage ../development/libraries/ftgl {
inherit (darwin.apple_sdk.frameworks) OpenGL; inherit (darwin.apple_sdk.frameworks) OpenGL GLUT;
}; };
ftop = callPackage ../os-specific/linux/ftop { }; ftop = callPackage ../os-specific/linux/ftop { };