Unverified Commit 82e55e71 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy Committed by GitHub
Browse files

xournalpp: move to by-name/, add update script, 1.2.9 -> 1.2.10 (#468704)

parents 233a01da 4a526462
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -25,18 +25,19 @@
  zlib,
  # plugins
  withLua ? true,
  lua,
  lua5_3,
  nix-update-script,
}:

stdenv.mkDerivation rec {
  pname = "xournalpp";
  version = "1.2.9";
  version = "1.2.10";

  src = fetchFromGitHub {
    owner = "xournalpp";
    repo = "xournalpp";
    rev = "v${version}";
    hash = "sha256-YrLGa/BeZX3UeHY+n8LDStRJhEZfPe4Xjx20KtYBPow=";
    hash = "sha256-3M7ycbwKSmu8WUqC3anAi6GLPOex7gEndw/tDv0Ri7Q=";
  };

  postPatch = ''
@@ -69,7 +70,7 @@ stdenv.mkDerivation rec {
      portaudio
      zlib
    ]
    ++ lib.optional withLua lua;
    ++ lib.optional withLua lua5_3;

  buildFlags = [ "translations" ];

@@ -79,6 +80,8 @@ stdenv.mkDerivation rec {
    )
  '';

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Xournal++ is a handwriting Notetaking software with PDF annotation support";
    homepage = "https://xournalpp.github.io/";
+0 −4
Original line number Diff line number Diff line
@@ -12600,10 +12600,6 @@ with pkgs;
          ;
      };

  xournalpp = callPackage ../applications/graphics/xournalpp {
    lua = lua5_3;
  };

  xpdf = libsForQt5.callPackage ../applications/misc/xpdf { };

  xmobar = haskellPackages.xmobar.bin;