mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
30 lines
653 B
Nix
30 lines
653 B
Nix
{ fetchurl, lib, stdenv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qprint";
|
|
version = "1.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz";
|
|
sha256 = "1701cnb1nl84rmcpxzq11w4cyj4385jh3gx4aqxznwf8a4fwmagz";
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "wringer";
|
|
|
|
preInstall = ''
|
|
mkdir -p $out/bin
|
|
mkdir -p $out/share/man/man1
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://www.fourmilab.ch/webtools/qprint/";
|
|
license = lib.licenses.publicDomain;
|
|
description = "Encode and decode Quoted-Printable files";
|
|
maintainers = [ lib.maintainers.tv ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
|
|
}
|