grimm-nixos-laptop/custom/deskwhich/package.nix
2025-02-19 23:30:28 +01:00

29 lines
766 B
Nix

{
fetchFromGitea,
lib,
rustPlatform,
}:
rustPlatform.buildRustPackage {
pname = "deskwhich";
version = "unstable-2024-04-30";
src = fetchFromGitea {
domain = "git.grimmauld.de";
owner = "grimmauld";
repo = "deskwhich";
rev = "ed412216666a6a22918e57c5dd1fde3855eb0f5f";
hash = "sha256-uSXxUehZY1Sp08X3khSQtQc8AT00jJTAsQ+OfTTTkss=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-e4wWQ0QOl0vDRbOFs7eN49sQJXBiJGsHiDLE68NiK8Y=";
meta = {
description = "tool to find the path of desktop entries";
homepage = "https://codeberg.org/axtlos/deskwhich";
license = lib.licenses.gpl3Only;
mainProgram = "deskwhich";
maintainers = with lib.maintainers; [ grimmauld ];
platforms = lib.platforms.linux;
};
}