-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.nix
More file actions
34 lines (27 loc) · 704 Bytes
/
package.nix
File metadata and controls
34 lines (27 loc) · 704 Bytes
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
{
lib,
version,
buildGradleApplication,
jdk,
...
}:
buildGradleApplication {
pname = "tcs-bot";
version = version;
src = ./.;
inherit jdk;
dependencyFilter =
depSpec:
depSpec.name != "${depSpec.component.name}-metadata-${depSpec.component.version}.jar"
&& (depSpec.name != "${depSpec.component.name}-metadata-${depSpec.component.version}-all.jar");
buildTask = ":app:installDist";
installLocation = "app/build/install/*/";
meta = with lib; {
description = "Discord bot that verifies members of unofficial TCS Discord servers.";
sourceProvenance = with sourceTypes; [
fromSource
binaryBytecode
];
platforms = platforms.unix;
};
}