nixpkgs/pkgs/development/ocaml-modules/flac/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
678 B
Nix
Raw Normal View History

2021-10-09 15:10:43 +00:00
{
lib,
buildDunePackage,
fetchFromGitHub,
dune-configurator,
pkg-config,
ogg,
flac,
}:
buildDunePackage rec {
pname = "flac";
version = "0.5.0";
2021-10-09 15:10:43 +00:00
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-flac";
rev = "v${version}";
sha256 = "sha256-HRRQd//e6Eh2HuyO+U00ILu5FoBT9jf/nRJzDOie70A=";
2021-10-09 15:10:43 +00:00
};
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 ];
};
}