gmic-qt: 3.1.6 → 3.2.0

This commit is contained in:
Fabián Heredia Montiel 2023-01-20 09:38:49 -06:00
parent 2dd0b25e16
commit 5fba98444b

View file

@ -2,7 +2,6 @@
, mkDerivation , mkDerivation
, variant ? "standalone" , variant ? "standalone"
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, cmake , cmake
, pkg-config , pkg-config
, ninja , ninja
@ -59,13 +58,13 @@ assert lib.assertMsg (builtins.all (d: d != null) variants.${variant}.extraDeps
mkDerivation rec { mkDerivation rec {
pname = "gmic-qt${lib.optionalString (variant != "standalone") "-${variant}"}"; pname = "gmic-qt${lib.optionalString (variant != "standalone") "-${variant}"}";
version = "3.1.6"; version = "3.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "c-koi"; owner = "c-koi";
repo = "gmic-qt"; repo = "gmic-qt";
rev = "v.${version}"; rev = "v.${version}";
sha256 = "sha256-/5wDHvJSMgEheg8YV4W40wUiHz25emIoFnGdfO8i92g="; sha256 = "sha256-I5XC7zbDyBPFj4zul9rshoyeVV0hRQQ3aZQzEvYrgdc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -95,15 +94,6 @@ mkDerivation rec {
"-DENABLE_SYSTEM_GMIC:BOOL=ON" "-DENABLE_SYSTEM_GMIC:BOOL=ON"
]; ];
patches = [
# NOTE: this should be removed when a new version is released.
(fetchpatch {
name = "fix_filter_translation_scripts.patch";
url = "https://github.com/c-koi/gmic-qt/commit/ccb9f29eda239d0c80663593cd90a6548c935b39.patch";
sha256 = "sha256-OzuJ6yGuDJweQ+1uin/pmJqZV79bN9E1Zuo+0iciwzg=";
})
];
postPatch = '' postPatch = ''
patchShebangs \ patchShebangs \
translations/filters/csv2ts.sh \ translations/filters/csv2ts.sh \