grimm-nixos-laptop/custom/deskwhich/package.nix

28 lines
728 B
Nix

{ fetchFromGitea
, lib
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "deskwhich";
version = "unstable-2024-04-30";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "axtlos";
repo = "deskwhich";
rev = "cbe8a0cdf4bdbb26faecb028e79ad6c409376051";
hash = "sha256-c0Q0oYIB/1eutV7tkqYXvDMw8A7YsT+5+CmmwbGvcNk=";
};
cargoHash = "sha256-fBC3UBf9oLswlR6Kgw3nSwjqAtn7VQGzvbUJaYnOid4=";
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;
};
}