Unverified Commit 950c2f9c authored by Devin Droddy's avatar Devin Droddy
Browse files

ugdb: init at 0.1.12

parent d903daa5
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  rustPlatform,

  pkg-config,

  oniguruma,
}:
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "ugdb";
  version = "0.1.12";

  src = fetchFromGitHub {
    owner = "ftilde";
    repo = "ugdb";
    tag = finalAttrs.version;
    hash = "sha256-6mlvr/2hqwu5Zoo9E2EfOmyg0yEGBi4jk3BsRZ+zkN8=";
  };

  buildInputs = [ oniguruma ];
  nativeBuildInputs = [ pkg-config ];

  cargoHash = "sha256-+J4gwjQXB905yk4b2GwpamXO/bHpwqMxw6GsnusbJKU=";

  RUSTONIG_SYSTEM_LIBONIG = 1;

  # Upstream has a failing test :<
  doCheck = false;

  meta = with lib; {
    description = "Alternative TUI for gdb";
    homepage = "https://github.com/ftilde/ugdb";
    changelog = "https://github.com/ftilde/ugdb/blob/master/CHANGELOG.md";
    license = licenses.mit;
    maintainers = [ maintainers.justdeeevin ];
    mainProgram = "ugdb";
    platforms = platforms.unix;
  };
})