depot/third_party/nixpkgs/pkgs/applications/networking/owncloud-client/libre-graph-api-cpp-qt-client.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

35 lines
871 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, qtbase
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "libre-graph-api-cpp-qt-client";
version = "1.0.4";
src = fetchFromGitHub {
owner = "owncloud";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-wbdamPi2XSLWeprrYZtBUDH1A2gdp6/5geFZv+ZqSWk=";
};
sourceRoot = "source/client";
nativeBuildInputs = [ cmake wrapQtAppsHook ];
buildInputs = [ qtbase ];
cmakeFlags = [ ];
meta = with lib; {
description = "C++ Qt API for Libre Graph, a free API for cloud collaboration inspired by the MS Graph API";
homepage = "https://owncloud.org";
maintainers = with maintainers; [ qknight hellwolf ];
platforms = platforms.unix;
license = licenses.asl20;
changelog = "https://github.com/owncloud/libre-graph-api-cpp-qt-client/releases/tag/v${version}";
};
}