2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-10-30 13:00:15 +00:00
|
|
|
, fetchgit
|
|
|
|
, autoreconfHook
|
|
|
|
, gd
|
|
|
|
, libusb1
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ptouch-print";
|
|
|
|
version = "1.4.3";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://mockmoon-cybernetics.ch/cgi/cgit/linux/ptouch-print.git";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0i57asg2hj1nfwy5lcb0vhrpvb9dqfhf81vh4i929h1kiqhlw2hx";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gd
|
|
|
|
libusb1
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-30 13:00:15 +00:00
|
|
|
description = "Command line tool to print labels on Brother P-Touch printers on Linux";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
homepage = "https://mockmoon-cybernetics.ch/computer/p-touch2430pc/";
|
|
|
|
maintainers = with maintainers; [ shamilton ];
|
|
|
|
platforms = platforms.linux;
|
2023-11-23 21:09:35 +00:00
|
|
|
mainProgram = "ptouch-print";
|
2020-10-30 13:00:15 +00:00
|
|
|
};
|
|
|
|
}
|