nixpkgs-suyu/pkgs/misc/cups/drivers/samsung/default.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

# Tested on linux-x86_64. Might work on linux-i386. Probably won't work on anything else.
# To use this driver in NixOS, add it to printing.drivers in configuration.nix.
# configuration.nix might look like this when you're done:
# { pkgs, ... }: {
# printing = {
# enable = true;
# drivers = [ pkgs.samsungUnifiedLinuxDriver ];
# };
# (more stuff)
# }
# (This advice was tested on 2010 August 2.)
{stdenv, fetchurl, cups, gcc, ghostscript, glibc, patchelf}:
stdenv.mkDerivation rec {
name = "samsung-UnifiedLinuxDriver-0.92";
src = fetchurl {
url = "http://downloadcenter.samsung.com/content/DR/200911/20091103171827750/UnifiedLinuxDriver_0.92.tar.gz";
sha256 = "0p2am0p8xvm339mad07c4j77gz31m63z76sy6d9hgwmxy2prbqfq";
};
buildInputs = [ cups gcc ghostscript glibc patchelf ];
inherit cups gcc ghostscript glibc;
builder = ./builder.sh;
2015-03-02 17:05:29 +01:00
meta = with stdenv.lib; {
description = "Samsung's Linux drivers; includes binaries without source code";
homepage = "http://www.samsung.com/";
2015-03-02 17:05:29 +01:00
license = licenses.unfree;
platforms = platforms.linux;
};
}