summary refs log tree commit diff
path: root/pkgs/tools/networking/mpack/default.nix
blob: 5a1095506424be7eec1c022d8564ad039476e625 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, fetchurl, pkgconfig, glib }:

stdenv.mkDerivation rec {
  name = "mpack-1.6";

  src = fetchurl {
    url = "http://ftp.andrew.cmu.edu/pub/mpack/${name}.tar.gz";
    sha256 = "0k590z96509k96zxmhv72gkwhrlf55jkmyqlzi72m61r7axhhh97";
  };

  patches = [ ./build-fix.patch ];

  preConfigure = "configureFlags=--mandir=$out/share/man";

  meta = {
    description = "utilities for encoding and decoding binary files in MIME";
    platforms = stdenv.lib.platforms.unix;
  };
}