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