mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
sampler: fix build with go 1.17
This commit is contained in:
parent
07e0094749
commit
ceebedb1db
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, darwin, libiconv, alsa-lib, stdenv }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, fetchpatch, darwin, libiconv, alsa-lib, stdenv }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "sampler";
|
||||
@ -11,7 +11,15 @@ buildGoModule rec {
|
||||
sha256 = "1lanighxhnn28dfzils7i55zgxbw2abd6y723mq7x9wg1aa2bd0z";
|
||||
};
|
||||
|
||||
vendorSha256 = "04nywhkil5xkipcibrp6vi63rfcvqgv7yxbxmmrhqys2cdxfvazv";
|
||||
patches = [
|
||||
# fix build with go 1.17
|
||||
(fetchpatch {
|
||||
url = "https://github.com/sqshq/sampler/commit/97a4a0ebe396a780d62f50f112a99b27044e832b.patch";
|
||||
sha256 = "1czns7jc85mzdf1mg874jimls8x32l35x3lysxfgfah7cvvwznbk";
|
||||
})
|
||||
];
|
||||
|
||||
vendorSha256 = "02cfzqadpsk2vkzsp7ciji9wisjza0yp35pw42q44navhbzcb4ji";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -22531,9 +22531,7 @@ with pkgs;
|
||||
|
||||
sambaFull = samba4Full;
|
||||
|
||||
sampler = callPackage ../applications/misc/sampler {
|
||||
buildGoModule = buildGo116Module;
|
||||
};
|
||||
sampler = callPackage ../applications/misc/sampler { };
|
||||
|
||||
shairplay = callPackage ../servers/shairplay { avahi = avahi-compat; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user