nixpkgs/pkgs/development/libraries/coeurl/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
705 B
Nix
Raw Normal View History

2021-11-19 11:26:21 +01:00
{ lib
, stdenv
, fetchFromGitLab
, ninja
, pkg-config
, meson
, libevent
, curl
, spdlog
}:
stdenv.mkDerivation rec {
pname = "coeurl";
2022-03-08 04:55:15 +01:00
version = "0.2.0";
2021-11-19 11:26:21 +01:00
src = fetchFromGitLab {
domain = "nheko.im";
owner = "nheko-reborn";
repo = pname;
rev = "v${version}";
2022-03-08 04:55:15 +01:00
sha256 = "sha256-IIIl+/5Omv0lYTNAjeA63ofJlBmNe3+yTOxDsvL+ak0=";
2021-11-19 11:26:21 +01:00
};
nativeBuildInputs = [ ninja pkg-config meson ];
buildInputs = [ libevent curl spdlog ];
meta = with lib; {
description = "A simple async wrapper around CURL for C++";
homepage = "https://nheko.im/nheko-reborn/coeurl";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ rnhmjoj ];
};
}