From 1fbf33b78e7124d659189a52e88be620e920572b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 23 Feb 2018 16:38:26 +0000 Subject: [PATCH] zj-58: nitpicks --- pkgs/misc/cups/drivers/zj-58/default.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/pkgs/misc/cups/drivers/zj-58/default.nix b/pkgs/misc/cups/drivers/zj-58/default.nix index 3f806c48ec6e..9321cf526bee 100644 --- a/pkgs/misc/cups/drivers/zj-58/default.nix +++ b/pkgs/misc/cups/drivers/zj-58/default.nix @@ -12,21 +12,18 @@ stdenv.mkDerivation rec { sha256 = "1w2qkspm4qqg5h8n6gmakzhiww7gag64chvy9kf89xsl3wsyp6pi"; }; - buildInputs = [cups]; + buildInputs = [ cups ]; installPhase = '' - mkdir -p $out/lib/cups/filter - cp rastertozj $out/lib/cups/filter - - mkdir -p $out/share/cups/model/zjiang - cp ZJ-58.ppd $out/share/cups/model/zjiang/ + install -D rastertozj $out/lib/cups/filter/rastertozj + install -D ZJ-58.ppd $out/share/cups/model/zjiang/ZJ-58.ppd ''; - meta = { + meta = with stdenv.lib; { description = "CUPS filter for thermal printer Zjiang ZJ-58"; homepage = https://github.com/klirichek/zj-58; - platforms = stdenv.lib.platforms.linux; - maintainers = with stdenv.lib.maintainers; [ makefu ]; - license = stdenv.lib.licenses.bsd2; + platforms = platforms.linux; + maintainers = with maintainers; [ makefu ]; + license = licenses.bsd2; }; }