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