MCPcopy
hub / github.com/goreleaser/nfpm

github.com/goreleaser/nfpm @v2.47.0 sqlite

repository ↗ · DeepWiki ↗ · release v2.47.0 ↗
577 symbols 2,222 edges 39 files 117 documented · 20%
README

GoReleaser Logo

<a href="https://github.com/goreleaser/nfpm/releases/latest"><img alt="Release" src="https://img.shields.io/github/release/goreleaser/nfpm.svg?style=for-the-badge"></a>
<a href="https://github.com/goreleaser/nfpm/raw/v2.47.0/LICENSE.md"><img alt="Software License" src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=for-the-badge"></a>
<a href="https://github.com/goreleaser/nfpm/actions?workflow=build"><img alt="GitHub Actions" src="https://img.shields.io/github/actions/workflow/status/goreleaser/nfpm/build.yml?style=for-the-badge&branch=main"></a>
<a href="https://codecov.io/gh/goreleaser/nfpm"><img alt="Codecov branch" src="https://img.shields.io/codecov/c/github/goreleaser/nfpm/main.svg?style=for-the-badge"></a>
<a href="https://goreportcard.com/report/github.com/goreleaser/nfpm"><img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/goreleaser/nfpm?style=for-the-badge"></a>
<a href="https://pkg.go.dev/github.com/goreleaser/nfpm/v2"><img alt="Go Doc" src="https://img.shields.io/badge/godoc-reference-blue.svg?style=for-the-badge"></a>
<a href="https://github.com/goreleaser"><img alt="Powered By: GoReleaser" src="https://img.shields.io/badge/powered%20by-goreleaser-green.svg?style=for-the-badge"></a>

Why

While fpm is great, for me, it is a bummer that it depends on ruby, tar and other software.

I wanted something that could be used as a binary and/or as a library and that was really simple.

So I created nFPM: a simpler, 0-dependency, as-little-assumptions-as-possible alternative to fpm.

Getting started

Special thanks 🙏

Thanks to the fpm authors for fpm, which inspires nfpm a lot.

Community

You have questions, need support and or just want to talk about GoReleaser/nFPM?

Here are ways to get in touch with the GoReleaser community:

Join Discord Follow Twitter GitHub Discussions

Donate

Donations are very much appreciated! You can donate/sponsor on the main goreleaser opencollective! It's easy and will surely help the developers at least buy some ☕️ or 🍺!


Our Sponsors

Diamond

SerpApi

Gold

nitric

Silver

Depot N-iX Ltd

Bronze

conet cloud Encore Comet Gitea

And many more!

See the full list here.

Extension points exported contracts — how you extend this code

Packager (Interface)
Packager represents any packager implementation. [7 implementers]
nfpm.go
PackagerWithExtension (Interface)
(no doc) [6 implementers]
nfpm.go

Core symbols most depended-on inside this repo

Package
called by 86
nfpm.go
Close
called by 75
deb/deb.go
Len
called by 52
files/files.go
String
called by 36
rpm/rpm.go
Error
called by 34
nfpm.go
Name
called by 29
files/files.go
Mode
called by 29
files/files.go
PrepareForPackager
called by 29
files/files.go

Shape

Function 451
Struct 62
Method 59
TypeAlias 3
Interface 2

Languages

Go100%

Modules by API surface

deb/deb_test.go69 symbols
nfpm.go60 symbols
rpm/rpm_test.go47 symbols
ipk/ipk_test.go42 symbols
deb/deb.go35 symbols
files/files_test.go29 symbols
apk/apk_test.go29 symbols
files/files.go27 symbols
apk/apk.go27 symbols
rpm/rpm.go20 symbols
arch/arch.go20 symbols
nfpm_test.go19 symbols

Dependencies from manifests, versioned

charm.land/lipgloss/v2v2.0.0-beta.3.0.2025 · 1×
dario.cat/mergov1.0.2 · 1×
github.com/AlekSi/pointerv1.2.0 · 1×
github.com/DataDog/zstdv1.5.5 · 1×
github.com/Masterminds/goutilsv1.1.1 · 1×
github.com/Masterminds/semver/v3v3.5.0 · 1×
github.com/Microsoft/go-winiov0.6.2 · 1×
github.com/ProtonMail/go-cryptov1.4.1 · 1×
github.com/ProtonMail/go-mimev0.0.0-2023032210345 · 1×
github.com/ProtonMail/gopenpgp/v2v2.7.1 · 1×
github.com/bahlo/generic-list-gov0.2.0 · 1×

For agents

$ claude mcp add nfpm \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact