forked from mirrors/nixpkgs
Merge pull request #206414 from aaronjheng/nasmfmt
nasmfmt: unstable-2021-04-24 -> unstable-2022-09-15
This commit is contained in:
commit
d7c0384937
|
@ -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 ];
|
||||
};
|
||||
|
|
3
pkgs/development/tools/nasmfmt/go.mod
Normal file
3
pkgs/development/tools/nasmfmt/go.mod
Normal file
|
@ -0,0 +1,3 @@
|
|||
module github.com/yamnikov-oleg/nasmfmt
|
||||
|
||||
go 1.18
|
Loading…
Reference in a new issue