mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-03 13:11:48 +02:00
e672699b0a
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
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
|
|
}
|