mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
d0b83ae0fa
- move to pkgs/by-name
34 lines
840 B
Nix
34 lines
840 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, qt6
|
|
}:
|
|
|
|
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 = "${src.name}/client";
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ qt6.qtbase ];
|
|
dontWrapQtApps = true;
|
|
|
|
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; [ hellwolf ];
|
|
platforms = platforms.unix;
|
|
license = licenses.asl20;
|
|
changelog = "https://github.com/owncloud/libre-graph-api-cpp-qt-client/releases/tag/v${version}";
|
|
};
|
|
}
|