mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
21 lines
565 B
Nix
21 lines
565 B
Nix
{ lib, fetchurl, buildDunePackage }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "magic-mime";
|
|
version = "1.3.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-magic-mime/releases/download/v${version}/magic-mime-${version}.tbz";
|
|
hash = "sha256-4CNNA2Jduh76xY5X44dnLXWl6aYh/0ms/g9gnADxOwg=";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
meta = with lib; {
|
|
description = "Convert file extensions to MIME types";
|
|
homepage = "https://github.com/mirage/ocaml-magic-mime";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ vbgl ];
|
|
};
|
|
}
|