1{ lib, stdenv, fetchurl, cutee }:
2
3stdenv.mkDerivation rec {
4 pname = "mimetic";
5 version = "0.9.8";
6
7 src = fetchurl {
8 url = "http://www.codesink.org/download/${pname}-${version}.tar.gz";
9 sha256 = "003715lvj4nx23arn1s9ss6hgc2yblkwfy5h94li6pjz2a6xc1rs";
10 };
11
12 buildInputs = [ cutee ];
13
14 patches = lib.optional stdenv.isAarch64 ./narrowing.patch;
15
16 meta = with lib; {
17 description = "MIME handling library";
18 homepage = "http://www.codesink.org/mimetic_mime_library.html";
19 license = licenses.mit;
20 maintainers = with maintainers; [ leenaars];
21 platforms = platforms.linux;
22 };
23}