aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/libraries/mimetic/default.nix
blob: 0147a2973053c99754bdfdffdf5a4476dbfa8986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, cutee }:

stdenv.mkDerivation rec {
  pname = "mimetic";
  version = "0.9.8";

  src = fetchurl {
    url    = "http://www.codesink.org/download/${pname}-${version}.tar.gz";
    sha256 = "003715lvj4nx23arn1s9ss6hgc2yblkwfy5h94li6pjz2a6xc1rs";
  };

  buildInputs = [ cutee ];

  patches = stdenv.lib.optional stdenv.isAarch64 ./narrowing.patch;

  meta = with stdenv.lib; {
    description = "MIME handling library";
    homepage    = "http://www.codesink.org/mimetic_mime_library.html";
    license     = licenses.mit;
    maintainers = with maintainers; [ leenaars];
    platforms = platforms.linux;
  };
}