blob: 51651e5f0f92478d7a8c3e93e156eec70bdc2f52 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
stdenv,
fetchFromGitLab,
ninja,
pkg-config,
meson,
libevent,
curl,
spdlog,
}:
stdenv.mkDerivation rec {
pname = "coeurl";
version = "0.3.1";
src = fetchFromGitLab {
domain = "nheko.im";
owner = "nheko-reborn";
repo = "coeurl";
rev = "v${version}";
hash = "sha256-NGplM5c/dMGSQbhKeuPOTWL8KsqvMd/76YuwCxnqNNE=";
};
postPatch = ''
substituteInPlace subprojects/curl.wrap --replace '[provides]' '[provide]'
'';
nativeBuildInputs = [
ninja
pkg-config
meson
];
buildInputs = [
libevent
curl
spdlog
];
meta = with lib; {
description = "Simple async wrapper around CURL for C++";
homepage = "https://nheko.im/nheko-reborn/coeurl";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ rnhmjoj ];
};
}
|