Add Logitech support

This commit is contained in:
2025-12-26 02:35:27 +01:00
parent 9efb59a966
commit d9b9d82231
7 changed files with 220 additions and 31 deletions

View File

@@ -17,7 +17,13 @@
};
};
outputs = { self, nixpkgs, czkawka-src, naersk }:
outputs =
{
self,
nixpkgs,
czkawka-src,
naersk,
}:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
@@ -42,7 +48,8 @@
# Optional: libadwaita if the master branch has switched to it
];
in {
in
{
packages.${system}.default = naersk-lib.buildPackage {
pname = "czkawka";
version = "master";
@@ -51,7 +58,7 @@
# Add the dependencies
inherit nativeBuildInputs buildInputs;
# We need to manually install the desktop files/icons because Naersk
# We need to manually install the desktop files/icons because Naersk
# only installs the binaries by default.
postInstall = ''
install -Dm444 -t $out/share/applications data/com.github.qarmin.czkawka.desktop
@@ -66,4 +73,4 @@
inherit nativeBuildInputs buildInputs;
};
};
}
}