Merge pull request #261506 from wegank/tulip-bump
tulip: 5.6.1 -> 5.7.2
This commit is contained in:
commit
60fefd4cce
1 changed files with 16 additions and 10 deletions
|
@ -1,26 +1,32 @@
|
||||||
{ fetchurl, lib, stdenv, libxml2, freetype, libGLU, libGL, glew
|
{ lib, stdenv, fetchurl, libxml2, freetype, libGLU, libGL, glew
|
||||||
, qtbase, wrapQtAppsHook, python3
|
, qtbase, wrapQtAppsHook, autoPatchelfHook, python3
|
||||||
, cmake, libjpeg }:
|
, cmake, libjpeg, llvmPackages }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tulip";
|
pname = "tulip";
|
||||||
version = "5.6.1";
|
version = "5.7.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/auber/${pname}-${version}_src.tar.gz";
|
url = "mirror://sourceforge/auber/tulip-${version}_src.tar.gz";
|
||||||
sha256 = "1fy3nvgxv3igwc1d23zailcgigj1d0f2kkh7a5j24c0dyqz5zxmw";
|
hash = "sha256-b+XFCS6Ks+EpwxgYFzWdRomfCpHXmZHXnrQM+ZSLN/0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libxml2 freetype glew libGLU libGL libjpeg qtbase python3 ];
|
nativeBuildInputs = [ cmake wrapQtAppsHook ]
|
||||||
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
++ lib.optionals stdenv.isLinux [ autoPatchelfHook ];
|
||||||
|
|
||||||
|
buildInputs = [ libxml2 freetype glew libjpeg qtbase python3 ]
|
||||||
|
++ lib.optionals stdenv.isDarwin [ llvmPackages.openmp ]
|
||||||
|
++ lib.optionals stdenv.isLinux [ libGLU libGL ];
|
||||||
|
|
||||||
qtWrapperArgs = [ ''--prefix PATH : ${lib.makeBinPath [ python3 ]}'' ];
|
qtWrapperArgs = [ ''--prefix PATH : ${lib.makeBinPath [ python3 ]}'' ];
|
||||||
|
|
||||||
|
# error: format string is not a string literal (potentially insecure)
|
||||||
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-format-security";
|
||||||
|
|
||||||
# FIXME: "make check" needs Docbook's DTD 4.4, among other things.
|
# FIXME: "make check" needs Docbook's DTD 4.4, among other things.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
broken = (stdenv.isLinux && stdenv.isAarch64);
|
|
||||||
description = "A visualization framework for the analysis and visualization of relational data";
|
description = "A visualization framework for the analysis and visualization of relational data";
|
||||||
|
|
||||||
longDescription =
|
longDescription =
|
||||||
|
@ -36,6 +42,6 @@ stdenv.mkDerivation rec {
|
||||||
license = lib.licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
|
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice
|
platforms = lib.platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue