9 stdenv.mkDerivation (finalAttrs: {
11 version = "0-unstable-2024-11-03";
13 src = fetchFromGitHub {
14 owner = "vampirefrog";
16 rev = "c4b069cf633e52d4b7dce6e0b4277a0daa057774";
17 hash = "sha256-ZwqzrQ3kpOAZjJcstovmoNW8bG56w1YXm5ZMYIkjQ9M=";
27 enableParallelBuilding = true;
29 buildInputs = [ zlib ];
32 "AR=${stdenv.cc.targetPrefix}ar"
33 "CC=${stdenv.cc.targetPrefix}cc"
39 install -Dm644 libfmvoice.a $out/lib/libfmvoice.a
42 install -Dm644 $header $out/include/$header
45 for prog in $(grep 'PROGS:=' Makefile | cut -d'=' -f2); do
46 install -Dm755 $prog $bin/bin/$prog
53 updateScript = unstableGitUpdater { };
57 description = "C library for loading, saving and converting FM sound chip voice files in various formats";
58 homepage = "https://github.com/vampirefrog/libfmvoice";
59 license = lib.licenses.gpl3Only;
60 maintainers = with lib.maintainers; [ OPNA2608 ];
61 platforms = lib.platforms.all;