nixpkgs/pkgs/development/tools/nasmfmt/default.nix
ckie 13352be167
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`.
2022-05-23 20:10:14 +03:00

24 lines
634 B
Nix

{ 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 ];
};
}