summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/dymo-cups-drivers/default.nix
blob: d47bae6dd21f90da691a2f98583c8c6b89f89dd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ stdenv, lib, pkgs, fetchurl, cups, ... }:

stdenv.mkDerivation rec {
  name = "dymo-cups-drivers-${version}";
  version = "1.4.0";
  src = fetchurl {
    url = "http://download.dymo.com/dymo/Software/Download%20Drivers/Linux/Download/${name}.tar.gz";
    sha256 = "0wagsrz3q7yrkzb5ws0m5faq68rqnqfap9p98sgk5jl6x7krf1y6";
  };
  buildInputs = [ cups ];
  makeFlags = [ "cupsfilterdir=$(out)/lib/cups/filter" "cupsmodeldir=$(out)/share/cups/model" ];

  # acd_cli gets dumped in bin and gets overwritten by fixupPhase
  meta = {
    description = "Dymo printer drivers";
  };
}