From 76da40e5a72008acc35383bf9b36113316ea202d Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 15 Feb 2017 09:07:25 +0100 Subject: [PATCH] cups-dymo: init at 1.4.0.5 --- pkgs/misc/cups/drivers/dymo/default.nix | 26 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/misc/cups/drivers/dymo/default.nix diff --git a/pkgs/misc/cups/drivers/dymo/default.nix b/pkgs/misc/cups/drivers/dymo/default.nix new file mode 100644 index 000000000000..b2801c7ae671 --- /dev/null +++ b/pkgs/misc/cups/drivers/dymo/default.nix @@ -0,0 +1,26 @@ +{ stdenv, lib, fetchurl, cups, ... }: + +stdenv.mkDerivation rec { + name = "cups-dymo-${version}"; + version = "1.4.0.5"; + + # exposed version and 'real' version may differ + # in this case the download states '1.4.0' but the real version is '1.4.0.5' + # this has the potential to break future builds + dl-name = "dymo-cups-drivers-1.4.0"; + + src = fetchurl { + url = "http://download.dymo.com/dymo/Software/Download%20Drivers/Linux/Download/${dl-name}.tar.gz"; + sha256 = "0wagsrz3q7yrkzb5ws0m5faq68rqnqfap9p98sgk5jl6x7krf1y6"; + }; + + buildInputs = [ cups ]; + makeFlags = [ "cupsfilterdir=$(out)/lib/cups/filter" "cupsmodeldir=$(out)/share/cups/model" ]; + + meta = { + description = "CUPS Linux drivers and SDK for DYMO printers"; + homepage = "http://www.dymo.com/"; + license = lib.licenses.gpl2; + maintainers = with lib.maintainers; [ makefu ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 855de099cbac..cb6a495ee68e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17474,6 +17474,8 @@ with pkgs; cups-kyocera = callPackage ../misc/cups/drivers/kyocera {}; + cups-dymo = callPackage ../misc/cups/drivers/dymo {}; + crashplan = callPackage ../applications/backup/crashplan { }; e17gtk = callPackage ../misc/themes/e17gtk { };