cups-dymo: add matthiasbock driver
This commit is contained in:
parent
56b7b247c3
commit
7ec01340c4
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1706487304,
|
"lastModified": 1707205916,
|
||||||
"narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=",
|
"narHash": "sha256-fmRJilYGlB7VCt3XsdYxrA0u8e/K84O5xYucerUY0iM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "90f456026d284c22b3e3497be980b2e47d0b28ac",
|
"rev": "8cc79aa39bbc6eaedaf286ae655b224c71e02907",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
attic = final.callPackage ./packages/attic { };
|
attic = final.callPackage ./packages/attic { };
|
||||||
attic-client = final.attic.override { clientOnly = true; };
|
attic-client = final.attic.override { clientOnly = true; };
|
||||||
celeste64 = final.callPackage ./packages/celeste64 { };
|
celeste64 = final.callPackage ./packages/celeste64 { };
|
||||||
|
cups-dymo = final.callPackage ./packages/cups-dymo { };
|
||||||
ipsw = final.callPackage ./packages/ipsw { };
|
ipsw = final.callPackage ./packages/ipsw { };
|
||||||
jlink = final.callPackage ./packages/jlink { };
|
jlink = final.callPackage ./packages/jlink { };
|
||||||
zephyrPackages = final.callPackage ./packages/zephyr { };
|
zephyrPackages = final.callPackage ./packages/zephyr { };
|
||||||
|
|
37
packages/cups-dymo/default.nix
Normal file
37
packages/cups-dymo/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub, autoconf, automake, boost, cups, ... }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "cups-dymo";
|
||||||
|
version = "1.4.0.5-2024-02-07";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "matthiasbock";
|
||||||
|
repo = "dymo-cups-drivers";
|
||||||
|
rev = "eb2ad031114f4aaaf9b8d576d9596b1a9585c434";
|
||||||
|
hash = "sha256-IwdTJxCOKyqsl1B5UQqCDpepz04U4VF+G3mqaJTQJ/w=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoconf automake ];
|
||||||
|
|
||||||
|
buildInputs = [ boost cups ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
touch NEWS AUTHORS INSTALL README ChangeLog
|
||||||
|
autoheader
|
||||||
|
aclocal
|
||||||
|
automake --add-missing
|
||||||
|
autoconf
|
||||||
|
'';
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"cupsfilterdir=$(out)/lib/cups/filter"
|
||||||
|
"cupsmodeldir=$(out)/share/cups/model"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "CUPS Linux drivers and SDK for DYMO printers";
|
||||||
|
homepage = "https://www.dymo.com/";
|
||||||
|
license = lib.licenses.gpl2;
|
||||||
|
maintainers = with lib.maintainers; [ makefu ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue