mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
13352be167
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`.
24 lines
634 B
Nix
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 ];
|
|
};
|
|
}
|