Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add xerox 6280 (DN/DT/N) printers ppd files.
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters