lol
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 curl,
6}:
7
8stdenv.mkDerivation (finalAttrs: {
9 pname = "concord";
10 version = "2.3.0";
11
12 src = fetchFromGitHub {
13 owner = "Cogmasters";
14 repo = "concord";
15 tag = "v${finalAttrs.version}";
16 hash = "sha256-yTFGRnhDzxU+dPeZbCWlm52gsmEgD2el+46c8XQBQng=";
17 };
18
19 makeFlags = [ "PREFIX=${placeholder "out"}" ];
20
21 buildInputs = [ curl ];
22
23 meta = {
24 description = "Discord API wrapper library made in C";
25 homepage = "https://cogmasters.github.io/concord/";
26 changelog = "https://github.com/Cogmasters/concord/releases/tag/v${finalAttrs.version}";
27 license = lib.licenses.mit;
28 maintainers = with lib.maintainers; [ sigmanificient ];
29 platforms = lib.platforms.unix;
30 };
31})