Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 26 lines 681 B view raw
1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, ogg, libopus }: 2 3buildDunePackage rec { 4 pname = "opus"; 5 version = "0.2.2"; 6 7 duneVersion = "3"; 8 9 src = fetchFromGitHub { 10 owner = "savonet"; 11 repo = "ocaml-opus"; 12 rev = "v${version}"; 13 hash = "sha256-Ghfqw/J1oLbTJpYJaiB5M79jaA6DACvyxBVE+NjnPkg="; 14 }; 15 16 nativeBuildInputs = [ pkg-config ]; 17 buildInputs = [ dune-configurator ]; 18 propagatedBuildInputs = [ ogg libopus.dev ]; 19 20 meta = with lib; { 21 homepage = "https://github.com/savonet/ocaml-opus"; 22 description = "Bindings to libopus"; 23 license = licenses.gpl2Only; 24 maintainers = with maintainers; [ dandellion ]; 25 }; 26}