python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / taglib / default.nix
blob95b5ae04578ff5bff5d05cbfa0ca19ae74b68400
1 { lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, taglib, zlib }:
3 buildDunePackage rec {
4   pname = "taglib";
5   version = "0.3.10";
7   src = fetchFromGitHub {
8     owner = "savonet";
9     repo = "ocaml-taglib";
10     rev = "v${version}";
11     sha256 = "sha256-tAvzVr0PW1o0kKFxdi/ks4obqnyBm8YfiiFupXZkUho=";
12   };
14   minimalOCamlVersion = "4.05.0"; # Documented version 4.02.0. 4.05.0 actually required.
16   nativeBuildInputs = [ pkg-config ];
17   buildInputs = [ dune-configurator ];
18   propagatedBuildInputs = [ taglib zlib ];
20   meta = with lib; {
21     homepage = "https://github.com/savonet/ocaml-taglib";
22     description = "Bindings for the taglib library which provides functions for reading tags in headers of audio files";
23     license = with licenses; [ lgpl21Plus "link-exception" ]; # GNU Library Public License 2 Linking Exception
24     maintainers = with maintainers; [ dandellion ];
25   };