diff --git a/pkgs/tools/text/qprint/default.nix b/pkgs/tools/text/qprint/default.nix new file mode 100644 index 000000000000..3bb147f7dd27 --- /dev/null +++ b/pkgs/tools/text/qprint/default.nix @@ -0,0 +1,28 @@ +{ fetchurl, stdenv }: + +stdenv.mkDerivation rec { + name = "qprint-1.1"; + + src = fetchurl { + url = "http://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; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e5e94cedc051..b7c6d211508c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2376,6 +2376,8 @@ let qpdf = callPackage ../development/libraries/qpdf { }; + qprint = callPackage ../tools/text/qprint { }; + qscintilla = callPackage ../development/libraries/qscintilla { qt = qt4; };