Merge pull request #157371 from Enzime/fix/spotify-tray-automake

This commit is contained in:
Sandro 2022-02-02 14:43:10 +01:00 committed by GitHub
commit ac902152fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gtk3 }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, gtk3 }:
stdenv.mkDerivation rec {
pname = "spotify-tray";
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-E86rA8cBjy/bI7sZHlT40o7i23PcONXT5GTHEfcaDf0=";
};
patches = [
(fetchpatch {
name = "fix-building-with-automake-1.16.5.patch";
url = "https://github.com/tsmetana/spotify-tray/commit/1305f473ba4a406e907b98c8255f23154f349613.patch";
sha256 = "sha256-u2IopfMzNCu2F06RZoJw3OAsRxxZYdIMnKnyb7/KBgk=";
})
];
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ gtk3 ];