Merge pull request #229009 from MatthewCroughan/mc/therion

therion: init at 6.1.7

authored by

adisbladis and committed by
GitHub
1fc2d8fb 95ff8130

+129
+97
pkgs/applications/misc/therion/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , perl 7 + , tcl 8 + , tcllib 9 + , tk 10 + , expat 11 + , bwidget 12 + , python3 13 + , texlive 14 + , survex 15 + , makeWrapper 16 + , fmt 17 + , proj 18 + , wxGTK32 19 + , vtk 20 + , freetype 21 + , libjpeg 22 + , gettext 23 + , libGL 24 + , libGLU 25 + , sqlite 26 + , libtiff 27 + , curl 28 + , tkimg 29 + }: 30 + 31 + stdenv.mkDerivation rec { 32 + pname = "therion"; 33 + version = "6.1.7"; 34 + 35 + src = fetchFromGitHub { 36 + owner = "therion"; 37 + repo = "therion"; 38 + rev = "v${version}"; 39 + hash = "sha256-q+p1akGfzBeZejeYiJ8lrSbEIMTsX5YuIG/u35oh0JI="; 40 + }; 41 + 42 + nativeBuildInputs = [ 43 + cmake 44 + pkg-config 45 + perl 46 + python3 47 + texlive.combined.scheme-tetex 48 + makeWrapper 49 + tcl.tclPackageHook 50 + ]; 51 + 52 + preConfigure = '' 53 + export OUTDIR=$out 54 + ''; 55 + 56 + cmakeFlags = [ 57 + "-DBUILD_THBOOK=OFF" 58 + ]; 59 + 60 + buildInputs = [ 61 + expat 62 + tkimg 63 + proj 64 + wxGTK32 65 + vtk 66 + tk 67 + freetype 68 + libjpeg 69 + gettext 70 + libGL 71 + libGLU 72 + sqlite 73 + libtiff 74 + curl 75 + fmt 76 + tcl 77 + tcllib 78 + bwidget 79 + ]; 80 + 81 + fixupPhase = '' 82 + runHook preFixup 83 + wrapProgram $out/bin/therion \ 84 + --prefix PATH : ${lib.makeBinPath [ survex texlive.combined.scheme-tetex ]} 85 + wrapProgram $out/bin/xtherion \ 86 + --prefix PATH : ${lib.makeBinPath [ tk ]} 87 + runHook postFixup 88 + ''; 89 + 90 + meta = with lib; { 91 + description = "Therion – cave surveying software"; 92 + homepage = "https://therion.speleo.sk/"; 93 + changelog = "https://github.com/therion/therion/blob/${src.rev}/CHANGES"; 94 + license = licenses.gpl2Only; 95 + maintainers = with maintainers; [ matthewcroughan ]; 96 + }; 97 + }
+28
pkgs/development/libraries/tkimg/default.nix
···
··· 1 + { lib, fetchsvn, tcl, tcllib, tk, xorg }: 2 + 3 + tcl.mkTclDerivation rec { 4 + pname = "tkimg"; 5 + version = "623"; 6 + 7 + src = fetchsvn { 8 + url = "svn://svn.code.sf.net/p/tkimg/code/trunk"; 9 + rev = version; 10 + sha256 = "sha256-6GlkqYxXmMGjiJTZS2fQNVSimcKc1BZ/lvzvtkhty+o="; 11 + }; 12 + 13 + configureFlags = [ 14 + "--with-tcl=${tcl}/lib" 15 + "--with-tk=${tk}/lib" 16 + "--with-tkinclude=${tk.dev}/include" 17 + ]; 18 + 19 + buildInputs = [ xorg.libX11 tcllib ]; 20 + 21 + meta = { 22 + homepage = "https://sourceforge.net/projects/tkimg/"; 23 + description = "The Img package adds several image formats to Tcl/Tk"; 24 + maintainers = with lib.maintainers; [ matthewcroughan ]; 25 + license = lib.licenses.bsd3; 26 + platforms = lib.platforms.unix; 27 + }; 28 + }
+4
pkgs/top-level/all-packages.nix
··· 24064 tk-8_6 = callPackage ../development/libraries/tk/8.6.nix { }; 24065 tk-8_5 = callPackage ../development/libraries/tk/8.5.nix { tcl = tcl-8_5; }; 24066 24067 tkrzw = callPackage ../development/libraries/tkrzw { }; 24068 24069 tl-expected = callPackage ../development/libraries/tl-expected { }; ··· 39405 auto-cpufreq = callPackage ../tools/system/auto-cpufreq { }; 39406 39407 thermald = callPackage ../tools/system/thermald { }; 39408 39409 throttled = callPackage ../tools/system/throttled { }; 39410
··· 24064 tk-8_6 = callPackage ../development/libraries/tk/8.6.nix { }; 24065 tk-8_5 = callPackage ../development/libraries/tk/8.5.nix { tcl = tcl-8_5; }; 24066 24067 + tkimg = callPackage ../development/libraries/tkimg { }; 24068 + 24069 tkrzw = callPackage ../development/libraries/tkrzw { }; 24070 24071 tl-expected = callPackage ../development/libraries/tl-expected { }; ··· 39407 auto-cpufreq = callPackage ../tools/system/auto-cpufreq { }; 39408 39409 thermald = callPackage ../tools/system/thermald { }; 39410 + 39411 + therion = callPackage ../applications/misc/therion { }; 39412 39413 throttled = callPackage ../tools/system/throttled { }; 39414