blob: a48260ed38d6e88cd998afd0b1aa8d395fc22bd3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ lib, fetchurl, buildDunePackage }:
buildDunePackage rec {
pname = "magic-mime";
version = "1.2.0";
src = fetchurl {
url = "https://github.com/mirage/ocaml-magic-mime/releases/download/v${version}/magic-mime-v${version}.tbz";
sha256 = "sha256-8SG2dQD43Zfi/J/V0BxzJeTIS8XAI3RCd5+9b6IGlPU=";
};
minimalOCamlVersion = "4.03";
useDune2 = true;
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 ];
};
}
|