Unverified Commit 1133b4d6 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #254128 from r-ryantm/auto-update/valentina

valentina: 0.7.51 -> 0.7.52
parents 4e28a23b 8160250a
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -2,17 +2,18 @@
, qmake, qttools
, qtsvg, qtxmlpatterns
, wrapQtAppsHook
, autoPatchelfHook
}:

stdenv.mkDerivation rec {
  pname = "valentina";
  version = "0.7.51";
  version = "0.7.52";

  src = fetchFromGitLab {
    owner = "smart-pattern";
    repo = "valentina";
    rev = "v${version}";
    hash = "sha256-N9fC2tCP4TVNncatHaz5W5Mp3jOmAcEWYCl30+0myaE=";
    hash = "sha256-DmNRBxqyBvDTdA7Sz9X04Dhejtxx7tOVpST+SkUNguM=";
  };

  postPatch = ''
@@ -20,7 +21,7 @@ stdenv.mkDerivation rec {
      --replace '$$[QT_INSTALL_BINS]/$$LRELEASE' '${lib.getDev qttools}/bin/lrelease'
  '';

  nativeBuildInputs = [ qmake qttools wrapQtAppsHook installShellFiles ];
  nativeBuildInputs = [ qmake qttools wrapQtAppsHook installShellFiles autoPatchelfHook ];

  buildInputs = [ qtsvg qtxmlpatterns ];