From 9d5baf6d682675510f29af358c026ae7b8e3cc17 Mon Sep 17 00:00:00 2001 From: rewine Date: Wed, 26 Apr 2023 10:47:52 +0800 Subject: [PATCH] deepin.deepin-draw: 5.11.7 -> 6.0.5 --- pkgs/desktops/deepin/apps/deepin-draw/default.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/desktops/deepin/apps/deepin-draw/default.nix b/pkgs/desktops/deepin/apps/deepin-draw/default.nix index 7bbe4e0a4027..c07ca9e0b880 100644 --- a/pkgs/desktops/deepin/apps/deepin-draw/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-draw/default.nix @@ -1,7 +1,6 @@ { stdenv , lib , fetchFromGitHub -, fetchpatch , cmake , qttools , pkg-config @@ -15,23 +14,15 @@ stdenv.mkDerivation rec { pname = "deepin-draw"; - version = "5.11.7"; + version = "6.0.5"; src = fetchFromGitHub { owner = "linuxdeepin"; repo = pname; rev = version; - sha256 = "sha256-oryh1b7/78Hp3JclN9vKvfcKRg58nsfGZQvBx6VyJBs"; + sha256 = "sha256-WeubXsshN4tUlIwEHTxHXv1L2dvJ2DZ6qtSPyiVtc98="; }; - patches = [ - (fetchpatch { - name = "chore-use-GNUInstallDirs-in-CmakeLists.patch"; - url = "https://github.com/linuxdeepin/deepin-draw/commit/dac714fe603e1b77fc39952bfe6949852ee6c2d5.patch"; - sha256 = "sha256-zajxmKkZJT1lcyvPv/PRPMxcstF69PB1tC50gYKDlWA="; - }) - ]; - postPatch = '' substituteInPlace com.deepin.Draw.service \ --replace "/usr/bin/deepin-draw" "$out/bin/deepin-draw"