nasmfmt: init at unstable-2021-04-24

This is a little basic formatter for (N)ASM files. I've been getting
into hobby osdev a bit.

Last and first release was too long ago, so I just picked the latest
commit.

`buildGoPackage` is used since this doesn't have a `go.mod`.
This commit is contained in:
ckie 2022-05-23 20:08:03 +03:00
parent bc4b9eef3c
commit 13352be167
No known key found for this signature in database
GPG Key ID: 13E79449C0525215
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ lib, buildGoPackage, fetchFromGitHub, go }:
buildGoPackage rec {
pname = "nasmfmt";
version = "unstable-2021-04-24";
src = fetchFromGitHub {
owner = "yamnikov-oleg";
repo = "nasmfmt";
rev = "efba220c5252eb717f080d266dcc8304efdeab40";
sha256 = "sha256-snhXF+IP0qzl43rKQ0Ugfo1zv3RyNfjxnMpjZEBgPQg=";
};
goPackagePath = "github.com/yamnikov-oleg/nasmfmt";
meta = with lib; {
description = "Formatter for NASM source files";
homepage = "https://github.com/yamnikov-oleg/nasmfmt";
platforms = go.meta.platforms;
license = licenses.mit;
maintainers = with maintainers; [ ckie ];
};
}

View File

@ -13203,6 +13203,8 @@ with pkgs;
nasm = callPackage ../development/compilers/nasm { };
nasmfmt = callPackage ../development/tools/nasmfmt { };
nvidia_cg_toolkit = callPackage ../development/compilers/nvidia-cg-toolkit { };
obliv-c = callPackage ../development/compilers/obliv-c {