about summary refs log tree commit diff
path: root/pkgs/applications/printing/pappl
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/printing/pappl')
-rw-r--r--pkgs/applications/printing/pappl/default.nix63
1 files changed, 0 insertions, 63 deletions
diff --git a/pkgs/applications/printing/pappl/default.nix b/pkgs/applications/printing/pappl/default.nix
deleted file mode 100644
index b47ba39f0ae5..000000000000
--- a/pkgs/applications/printing/pappl/default.nix
+++ /dev/null
@@ -1,63 +0,0 @@
-{ lib, stdenv, fetchFromGitHub
-, avahi
-, cups
-, gnutls
-, libjpeg
-, libpng
-, libusb1
-, pkg-config
-, withPAMSupport ? true, pam
-, zlib
-}:
-
-stdenv.mkDerivation rec {
-  pname = "pappl";
-  version = "1.4.6";
-
-  src = fetchFromGitHub {
-    owner = "michaelrsweet";
-    repo = pname;
-    rev = "v${version}";
-    sha256 = "sha256-d7QD6Kz4tBVHGFPBYcvRSzW+EtsNgpfweFvCx3ovfWE=";
-  };
-
-  outputs = [ "out" "dev" ];
-
-  nativeBuildInputs = [
-    pkg-config
-  ];
-
-  buildInputs = [
-    cups
-    libjpeg
-    libpng
-    libusb1
-    zlib
-  ] ++ lib.optionals (!stdenv.isDarwin) [
-    # upstream mentions these are not needed for Mac
-    # see: https://github.com/michaelrsweet/pappl#requirements
-    avahi
-    gnutls
-  ] ++ lib.optionals withPAMSupport [
-    pam
-  ];
-
-  # testing requires some networking
-  # doCheck = true;
-
-  doInstallCheck = true;
-  installCheckPhase = ''
-    $out/bin/pappl-makeresheader --help
-  '';
-
-  enableParallelBuilding = true;
-
-  meta = with lib; {
-    description = "C-based framework/library for developing CUPS Printer Applications";
-    mainProgram = "pappl-makeresheader";
-    homepage = "https://github.com/michaelrsweet/pappl";
-    license = licenses.asl20;
-    platforms = platforms.linux; # should also work for darwin, but requires additional work
-    maintainers = with maintainers; [ jonringer ];
-  };
-}