Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 dune-configurator, 6 pkg-config, 7 ogg, 8 flac, 9}: 10 11buildDunePackage rec { 12 pname = "flac"; 13 version = "0.5.1"; 14 15 src = fetchFromGitHub { 16 owner = "savonet"; 17 repo = "ocaml-flac"; 18 rev = "v${version}"; 19 sha256 = "sha256-68zunpRIX4lrRsKJhDF3Sre6Rp3g+ntP19ObFqG57jE="; 20 }; 21 22 nativeBuildInputs = [ pkg-config ]; 23 buildInputs = [ dune-configurator ]; 24 propagatedBuildInputs = [ 25 ogg 26 flac.dev 27 ]; 28 29 meta = with lib; { 30 homepage = "https://github.com/savonet/ocaml-flac"; 31 description = "Bindings for flac"; 32 license = licenses.gpl2Plus; 33 maintainers = with maintainers; [ dandellion ]; 34 }; 35}