1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/development/libraries/coeurl/default.nix
2021-12-21 11:38:02 +01:00

35 lines
705 B
Nix

{ lib
, stdenv
, fetchFromGitLab
, ninja
, pkg-config
, meson
, libevent
, curl
, spdlog
}:
stdenv.mkDerivation rec {
pname = "coeurl";
version = "0.1.1";
src = fetchFromGitLab {
domain = "nheko.im";
owner = "nheko-reborn";
repo = pname;
rev = "v${version}";
sha256 = "sha256-F4kHE9r2pR8hI+CrZQ9ElPjtp0McgwfSxoD5p56KDGs=";
};
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 ];
};
}