blob: 8a39101525544011988cc663b1b4af0055186cdf (
plain) (
blame)
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
|
[
# (fetchurl "url") needs to immediately fetch, but our options without
# internet access are fairly limited.
# TODO: populate some fixtures at a known location instead.
(builtins.fetchurl "file:///dev/null")
# fetchurl with url and sha256
(builtins.fetchurl {
url = "https://raw.githubusercontent.com/aaptel/notmuch-extract-patch/f732a53e12a7c91a06755ebfab2007adc9b3063b/notmuch-extract-patch";
sha256 = "0nawkl04sj7psw6ikzay7kydj3dhd0fkwghcsf5rzaw4bmp4kbax";
})
# fetchurl with url and sha256 (as SRI)
(builtins.fetchurl {
url = "https://raw.githubusercontent.com/aaptel/notmuch-extract-patch/f732a53e12a7c91a06755ebfab2007adc9b3063b/notmuch-extract-patch";
sha256 = "sha256-Xa1Jbl2Eq5+L0ww+Ph1osA3Z/Dxe/RkN1/dITQCdXFk=";
})
# fetchurl with another url, but same name
(builtins.fetchurl {
url = "https://test.example/owo";
name = "notmuch-extract-patch";
sha256 = "sha256-Xa1Jbl2Eq5+L0ww+Ph1osA3Z/Dxe/RkN1/dITQCdXFk=";
})
]
|