Commit 58c1ae9d authored by emaryn's avatar emaryn
Browse files

therion: 6.1.8 -> 6.3.3

parent 1a142a02
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -25,17 +25,18 @@
  sqlite,
  libtiff,
  curl,
  catch2,
}:

stdenv.mkDerivation rec {
  pname = "therion";
  version = "6.1.8";
  version = "6.3.3";

  src = fetchFromGitHub {
    owner = "therion";
    repo = "therion";
    rev = "v${version}";
    hash = "sha256-bmp0IZ4uAqDpe2e8UeIDUdFaaocx4OBIYuhnaHirqGc=";
    tag = "v${version}";
    hash = "sha256-yxY4rYaDmDK0mJH60FS12ILjntsjxhFNeijTFrNKSzU=";
  };

  nativeBuildInputs = [
@@ -75,10 +76,12 @@ stdenv.mkDerivation rec {
    tcl
    tclPackages.tcllib
    tclPackages.bwidget
    catch2
  ];

  fixupPhase = ''
    runHook preFixup

    wrapProgram $out/bin/therion \
      --prefix PATH : ${
        lib.makeBinPath [
@@ -88,14 +91,15 @@ stdenv.mkDerivation rec {
      }
    wrapProgram $out/bin/xtherion \
      --prefix PATH : ${lib.makeBinPath [ tk ]}

    runHook postFixup
  '';

  meta = with lib; {
  meta = {
    description = "Therion – cave surveying software";
    homepage = "https://therion.speleo.sk/";
    changelog = "https://github.com/therion/therion/blob/${src.rev}/CHANGES";
    license = licenses.gpl2Only;
    maintainers = with maintainers; [ matthewcroughan ];
    license = lib.licenses.gpl2Only;
    maintainers = with lib.maintainers; [ matthewcroughan ];
  };
}