Merge pull request #206414 from aaronjheng/nasmfmt

nasmfmt: unstable-2021-04-24 -> unstable-2022-09-15
This commit is contained in:
ckie 2022-12-18 05:56:17 +02:00 committed by GitHub
commit d7c0384937
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 7 deletions

View File

@ -1,22 +1,27 @@
{ lib, buildGoPackage, fetchFromGitHub, go }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "nasmfmt";
version = "unstable-2021-04-24";
version = "unstable-2022-09-15";
src = fetchFromGitHub {
owner = "yamnikov-oleg";
repo = "nasmfmt";
rev = "efba220c5252eb717f080d266dcc8304efdeab40";
sha256 = "sha256-snhXF+IP0qzl43rKQ0Ugfo1zv3RyNfjxnMpjZEBgPQg=";
rev = "127dbe8e72376c67d7dff89010ccfb49fc7b533e";
hash = "sha256-1c7ZOdoM0/Us7cnTT3sds2P5pcCedrCfl0GqQBnf9Rk=";
};
goPackagePath = "github.com/yamnikov-oleg/nasmfmt";
vendorHash = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
preBuild = ''
cp ${./go.mod} go.mod
'';
ldflags = [ "-s" "-w" ];
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

@ -0,0 +1,3 @@
module github.com/yamnikov-oleg/nasmfmt
go 1.18