blob: 0ee9779894cd418b88ebb37952f32c1fc37a3780 (
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
|
{
extLib,
...
}:
let
pname = "aria2-explorer";
owner = "alexhua";
repo = "Aria2-Explorer";
version = "2.8.2";
checkedVersion = extLib.checkExtensionVersion {
inherit
pname
owner
repo
version
;
tagPrefix = "v";
urlTemplate = "https://github.com/${owner}/${repo}/releases/download/v<version>/A2E-v<version>.crx";
};
in
{
inherit pname;
version = checkedVersion;
id = "jnnfdabjmnliapnhdbnljjlfamdkeohn";
drv = extLib.fetchUnpackedExtension {
inherit pname;
version = checkedVersion;
url = "https://github.com/${owner}/${repo}/releases/download/v${checkedVersion}/A2E-v${checkedVersion}.crx";
hash = "sha256-ljTgKd9QJTRJ11rlNx+PTynlQvdLW3IEoYNnCeOU2K8=";
isCrx = true;
};
}
|