ocamlPackages.opus: init at 0.2.1
This commit is contained in:
parent
bcc162f3fc
commit
c295827d73
26
pkgs/development/ocaml-modules/opus/default.nix
Normal file
26
pkgs/development/ocaml-modules/opus/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, ogg, libopus }:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "opus";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "savonet";
|
||||||
|
repo = "ocaml-opus";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "09mgnprhhs1adqm25c0qjhknswbh6va3jknq06fnp1jszszcjf4s";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
buildInputs = [ dune-configurator ];
|
||||||
|
propagatedBuildInputs = [ ogg libopus.dev ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/savonet/ocaml-opus";
|
||||||
|
description = "Bindings to libopus";
|
||||||
|
license = licenses.gpl2Only;
|
||||||
|
maintainers = with maintainers; [ dandellion ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1028,6 +1028,8 @@ let
|
||||||
|
|
||||||
optint = callPackage ../development/ocaml-modules/optint { };
|
optint = callPackage ../development/ocaml-modules/optint { };
|
||||||
|
|
||||||
|
opus = callPackage ../development/ocaml-modules/opus { };
|
||||||
|
|
||||||
otfm = callPackage ../development/ocaml-modules/otfm { };
|
otfm = callPackage ../development/ocaml-modules/otfm { };
|
||||||
|
|
||||||
otoml = callPackage ../development/ocaml-modules/otoml { };
|
otoml = callPackage ../development/ocaml-modules/otoml { };
|
||||||
|
|
Loading…
Reference in a new issue