nixpkgs/pkgs/by-name/co/concord/package.nix
2024-09-14 00:38:16 +00:00

32 lines
743 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
curl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "concord";
version = "2.3.0";
src = fetchFromGitHub {
owner = "Cogmasters";
repo = "concord";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-yTFGRnhDzxU+dPeZbCWlm52gsmEgD2el+46c8XQBQng=";
};
makeFlags = [ "PREFIX=${placeholder "out"}" ];
buildInputs = [ curl ];
meta = {
description = "Discord API wrapper library made in C";
homepage = "https://cogmasters.github.io/concord/";
changelog = "https://github.com/Cogmasters/concord/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ emneo ];
platforms = lib.platforms.unix;
};
})