blob: 4ac904066a9741b8728ad78d3302094cd359c005 (
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
|
{
lib,
pkgs,
extLib,
}:
let
pname = "dark-mode";
owner = "code-charity";
repo = "dark-mode";
version = "3.3.11";
checkedVersion = extLib.checkExtensionVersion {
inherit
pname
owner
repo
version
;
tagPrefix = "v";
urlTemplate = "https://github.com/${owner}/${repo}/archive/refs/tags/v<version>.zip";
};
in
{
inherit pname;
version = checkedVersion;
id = "ifpghghnlimndidoppdkdnbljddikfoj";
drv = extLib.fetchUnpackedExtension {
inherit pname;
version = checkedVersion;
url = "https://github.com/${owner}/${repo}/archive/refs/tags/v${checkedVersion}.zip";
hash = "sha256-Lt3T8i0ylV0l+T0eqnzs6veBcOpizhP79LgSkUx4xI8=";
};
}
|