From bc503a2de179a720ecb072751b663af52aa8541d Mon Sep 17 00:00:00 2001 From: SCOTT-HAMILTON Date: Fri, 30 Oct 2020 14:00:15 +0100 Subject: ptouch-print: init at 1.4.3 --- pkgs/misc/ptouch-print/default.nix | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pkgs/misc/ptouch-print/default.nix (limited to 'pkgs/misc/ptouch-print/default.nix') diff --git a/pkgs/misc/ptouch-print/default.nix b/pkgs/misc/ptouch-print/default.nix new file mode 100644 index 0000000000000..ac15ec6330973 --- /dev/null +++ b/pkgs/misc/ptouch-print/default.nix @@ -0,0 +1,34 @@ +{ 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; + }; +} -- cgit 1.4.1