summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSCOTT-HAMILTON <sgn.hamilton+github@protonmail.com>2020-10-30 14:00:15 +0100
committerSCOTT-HAMILTON <sgn.hamilton+github@protonmail.com>2020-11-27 20:20:50 +0100
commitbc503a2de179a720ecb072751b663af52aa8541d (patch)
tree5f32661d78da70ea67575cc57149e296dead7e01
parentd420c85a5593866939e5fe72ee9396bbf271bc92 (diff)
ptouch-print: init at 1.4.3
-rw-r--r--pkgs/misc/ptouch-print/default.nix34
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/misc/ptouch-print/default.nix b/pkgs/misc/ptouch-print/default.nix
new file mode 100644
index 000000000000..ac15ec633097
--- /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;
+ };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 2d0fc9f2aa6e..d36296c8c0ed 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -212,6 +212,8 @@ in
ptags = callPackage ../development/tools/misc/ptags { };
+ ptouch-print = callPackage ../misc/ptouch-print { };
+
demoit = callPackage ../servers/demoit { };
deviceTree = callPackage ../os-specific/linux/device-tree {};