diff options
author | SCOTT-HAMILTON <sgn.hamilton+github@protonmail.com> | 2020-10-30 14:00:15 +0100 |
---|---|---|
committer | SCOTT-HAMILTON <sgn.hamilton+github@protonmail.com> | 2020-11-27 20:20:50 +0100 |
commit | bc503a2de179a720ecb072751b663af52aa8541d (patch) | |
tree | 5f32661d78da70ea67575cc57149e296dead7e01 /pkgs/misc/ptouch-print/default.nix | |
parent | d420c85a5593866939e5fe72ee9396bbf271bc92 (diff) |
ptouch-print: init at 1.4.3
Diffstat (limited to 'pkgs/misc/ptouch-print/default.nix')
-rw-r--r-- | pkgs/misc/ptouch-print/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
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; + }; +} |