mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-06 12:39:54 +03:00
libfmvoice: init at 0.0.0-unstable-2023-05-21
This commit is contained in:
parent
48d38a834f
commit
7bb88994c1
52
pkgs/by-name/li/libfmvoice/package.nix
Normal file
52
pkgs/by-name/li/libfmvoice/package.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, unstableGitUpdater
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libfmvoice";
|
||||
version = "0.0.0-unstable-2023-05-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vampirefrog";
|
||||
repo = "libfmvoice";
|
||||
rev = "d4a2cd0ce0f934e511ef0bebbc060ba6e1b7f21f";
|
||||
hash = "sha256-GbwnXmCe/ktl4l/lAdYLg5eu49+hUwbHa61P93CQGh4=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [
|
||||
zlib
|
||||
];
|
||||
|
||||
buildFlags = [
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
for prog in $(grep 'PROGS=' Makefile | cut -d'=' -f2); do
|
||||
install -Dm755 $prog $out/bin/$prog
|
||||
done
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = unstableGitUpdater { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "C library for loading, saving and converting FM sound chip voice files in various formats";
|
||||
homepage = "https://github.com/vampirefrog/libfmvoice";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ OPNA2608 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user