Merge pull request #280753 from OPNA2608/update/libsidplayfp

libsidplayfp: 2.5.1 -> 2.6.0

authored by Nick Cao and committed by GitHub 090900c7 14ec4582

+2 -23
+2 -23
pkgs/development/libraries/libsidplayfp/default.nix
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 - , fetchpatch 5 , makeFontsConf 6 , nix-update-script 7 , testers ··· 19 20 stdenv.mkDerivation (finalAttrs: { 21 pname = "libsidplayfp"; 22 - version = "2.5.1"; 23 24 src = fetchFromGitHub { 25 owner = "libsidplayfp"; 26 repo = "libsidplayfp"; 27 rev = "v${finalAttrs.version}"; 28 fetchSubmodules = true; 29 - hash = "sha256-1e1QDSJ8CjLU794saba2auCKko7p2ylrdI0JWhh8Kco="; 30 }; 31 32 outputs = [ 33 "out" 34 ] ++ lib.optionals docSupport [ 35 "doc" 36 - ]; 37 - 38 - patches = [ 39 - # Pull autoconf-2.72 compatibility fix: 40 - # https://github.com/libsidplayfp/libsidplayfp/pull/103 41 - # Remove when version > 2.5.1 42 - (fetchpatch { 43 - name = "0001-libsidplayfp-autoconf-2.72-compat.patch"; 44 - url = "https://github.com/libsidplayfp/libsidplayfp/commit/2b1b41beb5099d5697e3f8416d78f27634732a9e.patch"; 45 - hash = "sha256-5Hk202IuHUBow7HnnPr2/ieWFjKDuHLQjQ9mJUML9q8="; 46 - }) 47 - 48 - # Fix --disable-tests logic 49 - # https://github.com/libsidplayfp/libsidplayfp/pull/108 50 - # Remove when version > 2.5.1 51 - (fetchpatch { 52 - name = "0002-libsidplayfp-Fix-autoconf-logic-for-tests-option.patch"; 53 - url = "https://github.com/libsidplayfp/libsidplayfp/commit/39dd2893b6186c4932d17b529bb62627b742b742.patch"; 54 - hash = "sha256-ErdfPvu8R81XxdHu2TaV87OpLFlRhJai51QcYUIkUZ4="; 55 - }) 56 ]; 57 58 postPatch = ''
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 , makeFontsConf 5 , nix-update-script 6 , testers ··· 18 19 stdenv.mkDerivation (finalAttrs: { 20 pname = "libsidplayfp"; 21 + version = "2.6.0"; 22 23 src = fetchFromGitHub { 24 owner = "libsidplayfp"; 25 repo = "libsidplayfp"; 26 rev = "v${finalAttrs.version}"; 27 fetchSubmodules = true; 28 + hash = "sha256-6Gbujz20EHQ7s9GaPpEPju+WqePjpduJqb5hcrswTm8="; 29 }; 30 31 outputs = [ 32 "out" 33 ] ++ lib.optionals docSupport [ 34 "doc" 35 ]; 36 37 postPatch = ''