mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-09 13:36:56 +02:00
26 lines
416 B
Go
26 lines
416 B
Go
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
|
|
}
|