1 { lib, stdenv, fetchurl, fetchpatch, cutee }:
3 stdenv.mkDerivation rec {
8 url = "http://www.codesink.org/download/${pname}-${version}.tar.gz";
9 sha256 = "003715lvj4nx23arn1s9ss6hgc2yblkwfy5h94li6pjz2a6xc1rs";
12 buildInputs = [ cutee ];
15 # Fix build with gcc11
17 url = "https://github.com/tat/mimetic/commit/bf84940f9021950c80846e6b1a5f8b0b55991b00.patch";
18 sha256 = "sha256-1JW9zPg67BgNsdIjK/jp9j7QMg50eRMz5FsDsbbzBlI=";
20 ] ++ lib.optional stdenv.isAarch64 ./narrowing.patch;
23 description = "MIME handling library";
24 homepage = "https://www.codesink.org/mimetic_mime_library.html";
25 license = licenses.mit;
26 maintainers = with maintainers; [ leenaars];
27 platforms = platforms.linux;