Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 35 lines 655 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 dune-configurator, 6 ogg, 7 speex, 8}: 9 10buildDunePackage rec { 11 pname = "speex"; 12 version = "0.4.1"; 13 14 useDune2 = true; 15 16 src = fetchFromGitHub { 17 owner = "savonet"; 18 repo = "ocaml-speex"; 19 rev = "v${version}"; 20 sha256 = "0p4ip37kihlz9qy604llak2kzd00g45ix1yiihnrri2nm01scfab"; 21 }; 22 23 buildInputs = [ dune-configurator ]; 24 propagatedBuildInputs = [ 25 ogg 26 speex.dev 27 ]; 28 29 meta = with lib; { 30 homepage = "https://github.com/savonet/ocaml-speex"; 31 description = "Bindings to libspeex"; 32 license = licenses.gpl2Only; 33 maintainers = with maintainers; [ dandellion ]; 34 }; 35}