nixpkgs/pkgs/misc/ptouch-print/default.nix

35 lines
736 B
Nix
Raw Normal View History

2020-10-30 13:00:15 +00:00
{ stdenv
, 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
];
meta = with stdenv.lib; {
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;
};
}