01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
24 lines
653 B
Nix
24 lines
653 B
Nix
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, ogg, flac }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "flac";
|
|
version = "0.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "savonet";
|
|
repo = "ocaml-flac";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-oMmxZtphEX/OPfyTumjkWQJidAjSRqriygaTjVJTCG0=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ dune-configurator ];
|
|
propagatedBuildInputs = [ ogg flac.dev ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/savonet/ocaml-flac";
|
|
description = "Bindings for flac";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ dandellion ];
|
|
};
|
|
}
|