depot/third_party/nixpkgs/pkgs/by-name/xd/xdg-terminal-exec-mkhl/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

27 lines
723 B
Nix

{
lib,
rustPlatform,
fetchFromGitea,
}:
rustPlatform.buildRustPackage rec {
pname = "xdg-terminal-exec-mkhl";
version = "0.2.0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "mkhl";
repo = "xdg-terminal-exec";
rev = "v${version}";
hash = "sha256-iVp+tg+OujMMddKsQ/T9wyqh/Jk/j/jQgsl23uQA/iM=";
};
cargoHash = "sha256-x2oEPFx2KRhnKPX3QjGBM16nkYGclxR5mELGYvxjtMA=";
meta = {
description = "Alternative rust-based implementation of the proposed XDG Default Terminal Execution Specification";
license = lib.licenses.gpl3Plus;
mainProgram = "xdg-terminal-exec";
maintainers = with lib.maintainers; [ quantenzitrone ];
platforms = lib.platforms.unix;
};
}