Merge pull request #102155 from SCOTT-HAMILTON/ptouch-print

ptouch-print: init at 1.4.3
This commit is contained in:
Sandro 2020-12-28 02:39:15 +01:00 committed by GitHub
commit a08cfe75a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View File

@ -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;
};
}

View File

@ -222,6 +222,8 @@ in
ptags = callPackage ../development/tools/misc/ptags { }; ptags = callPackage ../development/tools/misc/ptags { };
ptouch-print = callPackage ../misc/ptouch-print { };
demoit = callPackage ../servers/demoit { }; demoit = callPackage ../servers/demoit { };
deviceTree = callPackage ../os-specific/linux/device-tree {}; deviceTree = callPackage ../os-specific/linux/device-tree {};