libsidplayfp: 2.3.1 -> 2.4.0

This commit is contained in:
OPNA2608
2022-11-10 12:40:47 +01:00
parent 83be3a653f
commit 89e08269ef
@@ -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 .
'';