blob: 4158d1f66197d6327e6df09cbf6902e5f1d89517 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
package nix
type Package struct {
Name string
Source string
Broken bool
Definition string
Description string
Homepages []string
Licenses []License
LongDescription string
MainProgram string
Maintainers []Maintainer
Platforms []string
Version string
}
type License struct {
FullName string
Name string
SPDXId string
URL string
AppendixURL string
}
type Maintainer struct {
Github string
Name string
}
func (Package) BleveType() string {
return "package"
}
func (p Package) GetName() string {
return p.Name
}
func (p Package) GetSource() string {
return p.Source
}
|