Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 31 lines 705 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 dune-configurator, 6 pkg-config, 7 pulseaudio, 8}: 9 10buildDunePackage rec { 11 pname = "pulseaudio"; 12 version = "0.1.5"; 13 14 src = fetchFromGitHub { 15 owner = "savonet"; 16 repo = "ocaml-pulseaudio"; 17 rev = "v${version}"; 18 sha256 = "sha256-eG2HS5g3ycDftRDyXGBwPJE7VRnLXNUgcEgNfVm//ds="; 19 }; 20 21 nativeBuildInputs = [ pkg-config ]; 22 buildInputs = [ dune-configurator ]; 23 propagatedBuildInputs = [ pulseaudio ]; 24 25 meta = with lib; { 26 homepage = "https://github.com/savonet/ocaml-pulseaudio"; 27 description = "Bindings to Pulseaudio client library"; 28 license = licenses.lgpl21Only; 29 maintainers = with maintainers; [ dandellion ]; 30 }; 31}