Merge pull request #200522 from OPNA2608/update/libsidplayfp

libsidplayfp: 2.3.1 -> 2.4.0
This commit is contained in:
Bobby Rong 2022-11-10 20:59:59 +08:00 committed by GitHub
commit e5c31e2eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, nix-update-script
, autoreconfHook
, pkg-config
@ -17,25 +16,16 @@
stdenv.mkDerivation rec {
pname = "libsidplayfp";
version = "2.3.1";
version = "2.4.0";
src = fetchFromGitHub {
owner = "libsidplayfp";
repo = "libsidplayfp";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-Cu5mZzsqAO4X4Y8QAn851zIFPVPwxj5pB+jvA62L108=";
sha256 = "sha256-o9VPOX50QTp3gVNv2MEizrm4WxW6mOBi8eiuyoe2XZQ=";
};
patches = [
# Fixes test failure on x86_64-darwin
# Drop when fix for https://github.com/libsidplayfp/libsidplayfp/issues/39 in a release (>2.3.1)
(fetchpatch {
url = "https://github.com/libsidplayfp/libsidplayfp/commit/337020a91caa0113de4f4374e0dc770e4056d2c7.patch";
sha256 = "0sd7bqic8k945f05d8sk9mshf5d90ykd7f5p6m0n6v3jjhpwmqlq";
})
];
postPatch = ''
patchShebangs .
'';