summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/cups-ptouch
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-07-28 22:24:15 +0200
committermakefu <github@syntax-fehler.de>2023-07-28 22:24:15 +0200
commit060a8f28fa1fc648bdf66afb31a5d1efac868837 (patch)
tree2b354eacc7897365ee45244fe7a51720e0d0333f /makefu/5pkgs/cups-ptouch
parentcbfcc890e3b76d942b927809bf981a5fa7289e6a (diff)
makefu: move out to own repo, add vacation-note
Diffstat (limited to 'makefu/5pkgs/cups-ptouch')
-rw-r--r--makefu/5pkgs/cups-ptouch/default.nix55
1 files changed, 0 insertions, 55 deletions
diff --git a/makefu/5pkgs/cups-ptouch/default.nix b/makefu/5pkgs/cups-ptouch/default.nix
deleted file mode 100644
index be0dd1663..000000000
--- a/makefu/5pkgs/cups-ptouch/default.nix
+++ /dev/null
@@ -1,55 +0,0 @@
-{ lib, stdenv
-, fetchFromGitHub
-, autoreconfHook
-, gd
-, libusb1
-, cups
-, libpng
-, perl
-, perlPackages
-, libxml2
-, callPackage
-, foomatic-db-engine ? ( callPackage ../foomatic-db-engine {} )
-}:
-
-stdenv.mkDerivation rec {
- pname = "printer-driver-ptouch";
- version = "1.6";
-
- src = fetchFromGitHub {
- owner = "philpem";
- repo = "printer-driver-ptouch";
- rev = "v${version}";
- sha256 = "1c4hkncnr4qwkbz5dfvksngvq057j6xnbi1jjvchnlr7zgj7cndk";
- };
-
- postPatch = ''
- patchShebangs foomaticalize
- '';
- nativeBuildInputs = [
- autoreconfHook
- perl
- libxml2
- perlPackages.XMLLibXML
- foomatic-db-engine
- ];
-
- buildInputs = [
- cups
- libpng
- ];
- postInstall = ''
- mkdir -p $out/share/cups/model/
- echo "dummy dummy" > "$out/share/foomatic/db/oldprinterids"
- FOOMATICDB="$out/share/foomatic" foomatic-compiledb -t ppd -d "$out/share/cups/model/Brother/"
- rm -r $out/share/foomatic
- '';
-
- meta = with 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;
- };
-}