depot/third_party/nixpkgs/pkgs/by-name/so/sonivox/package.nix

28 lines
559 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation rec {
pname = "sonivox";
version = "3.6.14";
src = fetchFromGitHub {
owner = "pedrolcl";
repo = pname;
rev = "v${version}";
hash = "sha256-4IlxXa9D65tGu8W5TXF9qoM/IEP9im0vbdde2SnZyX4=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://github.com/pedrolcl/sonivox";
description = "MIDI synthesizer library";
license = licenses.asl20;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
}