zj-58: nitpicks
This commit is contained in:
parent
7ca25bdfcf
commit
1fbf33b78e
@ -12,21 +12,18 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1w2qkspm4qqg5h8n6gmakzhiww7gag64chvy9kf89xsl3wsyp6pi";
|
sha256 = "1w2qkspm4qqg5h8n6gmakzhiww7gag64chvy9kf89xsl3wsyp6pi";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [cups];
|
buildInputs = [ cups ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/lib/cups/filter
|
install -D rastertozj $out/lib/cups/filter/rastertozj
|
||||||
cp rastertozj $out/lib/cups/filter
|
install -D ZJ-58.ppd $out/share/cups/model/zjiang/ZJ-58.ppd
|
||||||
|
|
||||||
mkdir -p $out/share/cups/model/zjiang
|
|
||||||
cp ZJ-58.ppd $out/share/cups/model/zjiang/
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "CUPS filter for thermal printer Zjiang ZJ-58";
|
description = "CUPS filter for thermal printer Zjiang ZJ-58";
|
||||||
homepage = https://github.com/klirichek/zj-58;
|
homepage = https://github.com/klirichek/zj-58;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with stdenv.lib.maintainers; [ makefu ];
|
maintainers = with maintainers; [ makefu ];
|
||||||
license = stdenv.lib.licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user