lol

industrializer: unbreak on gcc 14, modernize (#396082)

authored by

Arne Keller and committed by
GitHub
fc9e192c 5a208e0c

+8 -4
+8 -4
pkgs/by-name/in/industrializer/package.nix
··· 15 pkg-config, 16 }: 17 18 - stdenv.mkDerivation rec { 19 pname = "industrializer"; 20 version = "0.2.7"; 21 src = fetchurl { 22 - url = "mirror://sourceforge/project/${pname}/ps${pname}-${version}.tar.xz"; 23 - sha256 = "0k688k2wppam351by7cp9m7an09yligzd89padr8viqy63gkdk6v"; 24 }; 25 26 nativeBuildInputs = [ ··· 42 43 preConfigure = "./autogen.sh"; 44 45 meta = { 46 description = "This program generates synthesized percussion sounds using physical modelling"; 47 longDescription = '' ··· 54 platforms = lib.platforms.linux; 55 mainProgram = "psindustrializer"; 56 }; 57 - }
··· 15 pkg-config, 16 }: 17 18 + stdenv.mkDerivation (finalAttrs: { 19 pname = "industrializer"; 20 version = "0.2.7"; 21 + 22 src = fetchurl { 23 + url = "mirror://sourceforge/project/industrializer/psindustrializer-${finalAttrs.version}.tar.xz"; 24 + hash = "sha256-28w23zAex41yUzeh9l+kPgGrTk2XHb9CGVXdy8VEyEw="; 25 }; 26 27 nativeBuildInputs = [ ··· 43 44 preConfigure = "./autogen.sh"; 45 46 + # jack.c:190:5: error: initialization of 'const gchar * (*)(int)' {aka 'const char * (*)(int)'} from incompatible pointer type 'const char * (*)(int * (*)()) 47 + env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types"; 48 + 49 meta = { 50 description = "This program generates synthesized percussion sounds using physical modelling"; 51 longDescription = '' ··· 58 platforms = lib.platforms.linux; 59 mainProgram = "psindustrializer"; 60 }; 61 + })