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 15 pkg-config, 16 16 }: 17 17 18 - stdenv.mkDerivation rec { 18 + stdenv.mkDerivation (finalAttrs: { 19 19 pname = "industrializer"; 20 20 version = "0.2.7"; 21 + 21 22 src = fetchurl { 22 - url = "mirror://sourceforge/project/${pname}/ps${pname}-${version}.tar.xz"; 23 - sha256 = "0k688k2wppam351by7cp9m7an09yligzd89padr8viqy63gkdk6v"; 23 + url = "mirror://sourceforge/project/industrializer/psindustrializer-${finalAttrs.version}.tar.xz"; 24 + hash = "sha256-28w23zAex41yUzeh9l+kPgGrTk2XHb9CGVXdy8VEyEw="; 24 25 }; 25 26 26 27 nativeBuildInputs = [ ··· 42 43 43 44 preConfigure = "./autogen.sh"; 44 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 + 45 49 meta = { 46 50 description = "This program generates synthesized percussion sounds using physical modelling"; 47 51 longDescription = '' ··· 54 58 platforms = lib.platforms.linux; 55 59 mainProgram = "psindustrializer"; 56 60 }; 57 - } 61 + })