ocamlPackages.flac: init at 0.3.0
This commit is contained in:
parent
3ef93a2d40
commit
bcc162f3fc
26
pkgs/development/ocaml-modules/flac/default.nix
Normal file
26
pkgs/development/ocaml-modules/flac/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, ogg, flac }:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "flac";
|
||||||
|
version = "0.3.0";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "savonet";
|
||||||
|
repo = "ocaml-flac";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "06gfbrp30sdxigzkix83y1b610ljzik6rrxmbl3ppmpx4dqlwnxa";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -421,6 +421,10 @@ let
|
||||||
|
|
||||||
fix = callPackage ../development/ocaml-modules/fix { };
|
fix = callPackage ../development/ocaml-modules/fix { };
|
||||||
|
|
||||||
|
flac = callPackage ../development/ocaml-modules/flac {
|
||||||
|
inherit (pkgs) flac;
|
||||||
|
};
|
||||||
|
|
||||||
fmt = callPackage ../development/ocaml-modules/fmt { };
|
fmt = callPackage ../development/ocaml-modules/fmt { };
|
||||||
|
|
||||||
fontconfig = callPackage ../development/ocaml-modules/fontconfig {
|
fontconfig = callPackage ../development/ocaml-modules/fontconfig {
|
||||||
|
|
Loading…
Reference in a new issue