Merge pull request #300353 from tjkirch/ptouch-print-1.5-unstable
ptouch-print: 1.4.3 -> 1.5-unstable-2024-02-11
This commit is contained in:
commit
d3644d8d68
@ -1,35 +1,57 @@
|
|||||||
{ lib, stdenv
|
{ cmake
|
||||||
, fetchgit
|
, fetchgit
|
||||||
, autoreconfHook
|
|
||||||
, gd
|
, gd
|
||||||
|
, gettext
|
||||||
|
, git
|
||||||
|
, lib
|
||||||
|
, libjpeg
|
||||||
|
, libpng
|
||||||
, libusb1
|
, libusb1
|
||||||
|
, pkg-config
|
||||||
|
, stdenv
|
||||||
|
, zlib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ptouch-print";
|
pname = "ptouch-print";
|
||||||
version = "1.4.3";
|
version = "1.5-unstable-2024-02-11";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://mockmoon-cybernetics.ch/cgi/cgit/linux/ptouch-print.git";
|
url = "https://git.familie-radermacher.ch/linux/ptouch-print.git";
|
||||||
rev = "v${version}";
|
rev = "8aaeecd84b619587dc3885dd4fea4b7310c82fd4";
|
||||||
sha256 = "0i57asg2hj1nfwy5lcb0vhrpvb9dqfhf81vh4i929h1kiqhlw2hx";
|
hash = "sha256-IIq3SmMfsgwSYbgG1w/wrBnFtb6xdFK2lkK27Qqk6mw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
cmake
|
||||||
|
git
|
||||||
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gd
|
gd
|
||||||
|
gettext
|
||||||
|
libjpeg
|
||||||
|
libpng
|
||||||
|
zlib
|
||||||
libusb1
|
libusb1
|
||||||
];
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/bin
|
||||||
|
mv ptouch-print $out/bin
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Command line tool to print labels on Brother P-Touch printers on Linux";
|
description = "Command line tool to print labels on Brother P-Touch printers on Linux";
|
||||||
|
homepage = "https://dominic.familie-radermacher.ch/projekte/ptouch-print/";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
homepage = "https://mockmoon-cybernetics.ch/computer/p-touch2430pc/";
|
mainProgram = "ptouch-print";
|
||||||
maintainers = with maintainers; [ shamilton ];
|
maintainers = with maintainers; [ shamilton ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
mainProgram = "ptouch-print";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user