Skip to content

Commit

Permalink
xerox6280: init at 1.0-1
Browse files Browse the repository at this point in the history
Add xerox 6280 (DN/DT/N) printers ppd files.
  • Loading branch information
JoeDupuis committed Nov 15, 2019
1 parent 87a8233 commit 4ca73ab
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/misc/cups/drivers/xerox6280/default.nix
@@ -0,0 +1,34 @@
{ stdenv, rpm, cpio} :
stdenv.mkDerivation {
pname = "Xerox-Phaser-6280";
version = "1.0.0.0";

buildInputs = [rpm cpio];

src = fetchTarball {
url = "http://download.support.xerox.com/pub/drivers/6280/drivers/linux/en/6280_Linux.tar";
sha256 = "1xkawpj697bv82rd1f31nfs5bfq58jsgni5zq1cvqnn7layifv24";
};

postUnpack = ''
(
cd source
rpm2cpio English/Xerox-Phaser-6280-1.0-1.noarch.rpm | cpio -idmv
)
'';

installPhase = ''
mkdir -p $out
mv usr/share $out/
'';


meta = with stdenv.lib; {
homepage = https://www.xerox.com/;
description = "Print drivers for Xerox Phaser 6280 (DN/DT/N)";
license = licenses.unfreeRedistributable;
platforms = platforms.linux;
downloadPage = "https://www.support.xerox.com/support/phaser-6280/downloads/enus.html?operatingSystem=linux&fileLanguage=en";
maintainers = [ maintainers.twistedjoe ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -25224,6 +25224,8 @@ in

xcftools = callPackage ../tools/graphics/xcftools { };

xerox6280 = callPackage ../misc/cups/drivers/xerox6280 { };

xhyve = callPackage ../applications/virtualization/xhyve {
inherit (darwin.apple_sdk.frameworks) Hypervisor vmnet;
inherit (darwin.apple_sdk.libs) xpc;
Expand Down

0 comments on commit 4ca73ab

Please sign in to comment.