about summary refs log tree commit diff
path: root/pkgs/by-name/xd/xdg-terminal-exec-mkhl/package.nix
blob: 1d6e61edb6b0a32e7419d5759406b2e3bee60fa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  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;
  };
}