summaryrefslogtreecommitdiffstats
path: root/examples/packages/example_1/pkgA/pkg.toml
blob: 5079d89d7f4f6275656c02acd77213706903b757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name              = "pkgA"
version           = "1.0.0"

[dependencies]
runtime = [ "pkgB =1.0.0" ]

[source]
url  = "http://somerandomthi.ng/foo/bar.tar.gz"
hash.type = "sha1"
hash.hash = "23465"

[phases]
# overwrites
install.script = '''
    echo Overridden install phase in package pkgA

    mkdir -p /outputs
    touch /outputs/pkgA-1.0.0.txt
    ls /outputs
'''