Unverified Commit 85bb4f48 authored by Rick van Schijndel's avatar Rick van Schijndel Committed by GitHub
Browse files

nomacs: 3.21.1 -> 3.22.0 (#513328)

parents 28774125 d103a97f
Loading
Loading
Loading
Loading
+2 −16
Original line number Diff line number Diff line
@@ -13,8 +13,8 @@
}:
stdenv.mkDerivation (finalAttrs: {
  pname = "nomacs";
  version = "3.21.1";
  hash = "sha256-RRa19vj7iTtGzdssdtHVOsDzS4X+p1HeiZKy8EIWxq8=";
  version = "3.22.0";
  hash = "sha256-yheDM92AtojGXCx0UrK5gBvQgyGSxcsKPzl93HpHRt8=";

  src = fetchFromGitHub {
    owner = "nomacs";
@@ -24,13 +24,6 @@ stdenv.mkDerivation (finalAttrs: {
    inherit (finalAttrs) hash;
  };

  plugins = fetchFromGitHub {
    owner = "novomesk";
    repo = "nomacs-plugins";
    rev = "20101da282f13d3184ece873388e1c234a79b5e7";
    hash = "sha256-gcRc4KoWJQ5BirhLuk+c+5HwBeyQtlJ3iyX492DXeVk=";
  };

  outputs = [
    "out"
  ]
@@ -39,13 +32,6 @@ stdenv.mkDerivation (finalAttrs: {

  sourceRoot = "${finalAttrs.src.name}/ImageLounge";

  postUnpack = ''
    rm -rf $sourceRoot/plugins
    mkdir $sourceRoot/plugins
    cp -r ${finalAttrs.plugins}/* $sourceRoot/plugins/
    chmod -R +w $sourceRoot/plugins
  '';

  nativeBuildInputs = [
    cmake
    qt6.wrapQtAppsHook