mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
concord: init at 2.2.1
This commit is contained in:
parent
57609481a8
commit
61b9cbba76
31
pkgs/by-name/co/concord/package.nix
Normal file
31
pkgs/by-name/co/concord/package.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
curl,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "concord";
|
||||
version = "2.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Cogmasters";
|
||||
repo = "concord";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-8k/W6007U1/s3vx03i1929a5RKZtpW/jOr4JDwmzwp8=";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user