diff options
author | Daniel Olsen <daniel.olsen99@gmail.com> | 2023-11-15 21:48:19 +0100 |
---|---|---|
committer | Daniel Olsen <daniel.olsen99@gmail.com> | 2023-11-16 16:03:36 +0100 |
commit | 6f23ac0c18b5597c095651cac07ad6da63343c30 (patch) | |
tree | 3f7cb4cc0a2bb538abf62534540a0a5f3096e1b3 /pkgs/development/ocaml-modules | |
parent | 64391b832668beb3fe315fc0feac6a173fb579bc (diff) |
ocamlPackages.metadata: init at 0.2.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/metadata/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/metadata/default.nix b/pkgs/development/ocaml-modules/metadata/default.nix new file mode 100644 index 0000000000000..789825175e409 --- /dev/null +++ b/pkgs/development/ocaml-modules/metadata/default.nix @@ -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 ]; + }; +} |