git.iko.soy/typeable/nixpkgs
on master help sign in
zj-58: nitpicks
commit1fbf33b78e7124d659189a52e88be620e920572b authorJörg Thalheim <joerg@thalheim.io> dateFri 23 Feb 2018, 16:38 (9 years ago) parent7ca25bd
1 file changed+7−10
pkgs/misc/cups/drivers/zj-58/default.nix+7−10
pkgs/misc/cups/drivers/zj-58/default.nix+7−10
@@ -12,21 +12,18 @@ stdenv.mkDerivation rec {
1212 sha256 = "1w2qkspm4qqg5h8n6gmakzhiww7gag64chvy9kf89xsl3wsyp6pi";
1313 };
1414
15− buildInputs = [cups];
15+ buildInputs = [ cups ];
1616
1717 installPhase = ''
18− mkdir -p $out/lib/cups/filter
19− cp rastertozj $out/lib/cups/filter
20−
21− mkdir -p $out/share/cups/model/zjiang
22− cp ZJ-58.ppd $out/share/cups/model/zjiang/
18+ install -D rastertozj $out/lib/cups/filter/rastertozj
19+ install -D ZJ-58.ppd $out/share/cups/model/zjiang/ZJ-58.ppd
2320 '';
2421
25− meta = {
22+ meta = with stdenv.lib; {
2623 description = "CUPS filter for thermal printer Zjiang ZJ-58";
2724 homepage = https://github.com/klirichek/zj-58;
28− platforms = stdenv.lib.platforms.linux;
29− maintainers = with stdenv.lib.maintainers; [ makefu ];
30− license = stdenv.lib.licenses.bsd2;
25+ platforms = platforms.linux;
26+ maintainers = with maintainers; [ makefu ];
27+ license = licenses.bsd2;
3128 };
3229}