1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-03 00:57:43 +02:00
Files
goreleaser/internal/pipe/nix/template.go

27 lines
448 B
Go
Raw Normal View History

package nix
import _ "embed"
//go:embed tmpl.nix
var pkgTmpl []byte
type Archive struct {
URL, Sha string
}
type templateData struct {
Name string
Version string
Install []string
PostInstall []string
SourceRoot string
SourceRoots map[string]string
Archives map[string]Archive
Description string
Homepage string
License string
Platforms []string
Inputs []string
Dependencies []string
}