zig: commonify & bootstrap (#331011)
[NixPkgs.git] / pkgs / by-name / so / sonivox / package.nix
blob631bb95df67a8a8f4fede9c55f3562fc3b57dd2d
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   cmake,
6 }:
8 stdenv.mkDerivation rec {
9   pname = "sonivox";
10   version = "3.6.15";
12   src = fetchFromGitHub {
13     owner = "pedrolcl";
14     repo = pname;
15     rev = "v${version}";
16     hash = "sha256-k+EhhLFp+ehptjDS8ZHvo5tfFxmSCA2lFTjkWFLi+cs=";
17   };
19   nativeBuildInputs = [ cmake ];
21   meta = with lib; {
22     homepage = "https://github.com/pedrolcl/sonivox";
23     description = "MIDI synthesizer library";
24     license = licenses.asl20;
25     maintainers = with maintainers; [ orivej ];
26     platforms = platforms.linux;
27   };