Skip to content

Commit

Permalink
ocamlPackages.metadata: init at 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dali99 committed Nov 16, 2023
1 parent 64391b8 commit 6f23ac0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pkgs/development/ocaml-modules/metadata/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, ogg, flac }:

buildDunePackage rec {
pname = "metadata";
version = "0.2.0";

src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-metadata";
rev = "v${version}";
sha256 = "sha256-sSekkyJ8D6mCCmxIyd+pBk/khaehA3BcpUQl2Gln+Ic=";
};

minimalOCamlVersion = "4.14";

meta = with lib; {
homepage = "https://github.com/savonet/ocaml-metadata";
description = "Library to read metadata from files in various formats. ";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dandellion ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,8 @@ let

merlin-lib = callPackage ../development/tools/ocaml/merlin/lib.nix { };

metadata = callPackage ../development/ocaml-modules/metadata { };

metrics = callPackage ../development/ocaml-modules/metrics { };

metrics-influx = callPackage ../development/ocaml-modules/metrics/influx.nix { };
Expand Down

0 comments on commit 6f23ac0

Please sign in to comment.