about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/text/qprint/default.nix
blob: d616d15ad75bfd5375aa03ed6a65c65798f8c570 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ fetchurl, stdenv }:

stdenv.mkDerivation rec {
  name = "qprint-1.1";

  src = fetchurl {
    url = "https://www.fourmilab.ch/webtools/qprint/${name}.tar.gz";
    sha256 = "1701cnb1nl84rmcpxzq11w4cyj4385jh3gx4aqxznwf8a4fwmagz";
  };

  doCheck = true;

  checkTarget = "wringer";

  preInstall = ''
    mkdir -p $out/bin
    mkdir -p $out/share/man/man1
  '';

  meta = {
    homepage = "http://www.fourmilab.ch/webtools/qprint/";
    license = stdenv.lib.licenses.publicDomain;
    description = "Encode and decode Quoted-Printable files";
    maintainers = [ stdenv.lib.maintainers.tv ];
    platforms = stdenv.lib.platforms.all;
  };

}