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:
parent
bc4b9eef3c
commit
13352be167
23
pkgs/development/tools/nasmfmt/default.nix
Normal file
23
pkgs/development/tools/nasmfmt/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user