mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
31 lines
723 B
Nix
31 lines
723 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
pkgsCross,
|
|
}:
|
|
let
|
|
inherit (pkgsCross.musl64) rustPlatform;
|
|
in
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "nnd";
|
|
version = "0.19";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "al13n321";
|
|
repo = "nnd";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-DjJDNsyOrDLaMruGLP3arfrCs/7hW24wfjvPncndY+Q=";
|
|
};
|
|
|
|
useFetchCargoVendor = true;
|
|
cargoHash = "sha256-Iwipxy0xKDyFLMmdB2FQve6DULX+46Pi9rOaK0bDTB0=";
|
|
|
|
meta = {
|
|
description = "Debugger for Linux";
|
|
homepage = "https://github.com/al13n321/nnd/tree/main";
|
|
license = lib.licenses.asl20;
|
|
platforms = [ "x86_64-linux" ];
|
|
maintainers = with lib.maintainers; [ sinjin2300 ];
|
|
mainProgram = "nnd";
|
|
};
|
|
})
|