Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 26 lines 733 B view raw
1{ lib, buildDunePackage, fetchFromGitHub, pkg-config, dune-configurator, lame }: 2 3buildDunePackage rec { 4 pname = "lame"; 5 version = "0.3.6"; 6 7 minimalOCamlVersion = "4.06"; 8 9 src = fetchFromGitHub { 10 owner = "savonet"; 11 repo = "ocaml-lame"; 12 rev = "v${version}"; 13 sha256 = "sha256-oRxP1OM0pGdz8CB+ou7kbbrNaB1x9z9KTfciLsivFnI="; 14 }; 15 16 nativeBuildInputs = [ pkg-config ]; 17 buildInputs = [ dune-configurator ]; 18 propagatedBuildInputs = [ lame ]; 19 20 meta = with lib; { 21 homepage = "https://github.com/savonet/ocaml-lame"; 22 description = "Bindings for the lame library which provides functions for encoding mp3 files"; 23 license = licenses.gpl2Plus; 24 maintainers = with maintainers; [ dandellion ]; 25 }; 26}