1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-15 13:53:25 +02:00
goreleaser/internal/pipe/nix/template.go

26 lines
416 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
Archives map[string]Archive
Description string
Homepage string
License string
Platforms []string
Inputs []string
Dependencies []string
}