mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
0e0f49438e
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/owncloud-client/versions.
30 lines
810 B
Nix
30 lines
810 B
Nix
{ stdenv, fetchurl, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, sqlite }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "owncloud-client-${version}";
|
|
version = "2.4.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
|
|
sha256 = "0pxga45fi7iyayy278hgl8x099isz6d7x1jq57p2m9qlsvfx8ap5";
|
|
};
|
|
|
|
patches = [ ./find-sql.patch ];
|
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
|
buildInputs = [ qtbase qtwebkit qtkeychain sqlite ];
|
|
|
|
cmakeFlags = [
|
|
"-UCMAKE_INSTALL_LIBDIR"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Synchronise your ownCloud with your computer using this desktop client";
|
|
homepage = https://owncloud.org;
|
|
maintainers = [ maintainers.qknight ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|