mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 21:33:07 +00:00
32 lines
743 B
Nix
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;
|
|
};
|
|
})
|