Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / li / libre-graph-api-cpp-qt-client / package.nix
blob5fc90574d40f77eedd49cc6982a86cf7858c7def
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , cmake
5 , qt6
6 }:
8 stdenv.mkDerivation rec {
9   pname = "libre-graph-api-cpp-qt-client";
10   version = "1.0.4";
12   src = fetchFromGitHub {
13     owner = "owncloud";
14     repo = pname;
15     rev = "refs/tags/v${version}";
16     hash = "sha256-wbdamPi2XSLWeprrYZtBUDH1A2gdp6/5geFZv+ZqSWk=";
17   };
19   sourceRoot = "${src.name}/client";
21   nativeBuildInputs = [ cmake ];
22   buildInputs = [ qt6.qtbase ];
23   dontWrapQtApps = true;
25   meta = with lib; {
26     description = "C++ Qt API for Libre Graph, a free API for cloud collaboration inspired by the MS Graph API";
27     homepage = "https://owncloud.org";
28     maintainers = with maintainers; [ hellwolf ];
29     platforms = platforms.unix;
30     license = licenses.asl20;
31     changelog = "https://github.com/owncloud/libre-graph-api-cpp-qt-client/releases/tag/v${version}";
32   };