nixpkgs/pkgs/applications/networking/owncloud-client/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
954 B
Nix
Raw Normal View History

{ lib, fetchurl, mkDerivation, cmake, extra-cmake-modules, pkg-config, qtbase, qtkeychain, sqlite, libsecret }:
mkDerivation rec {
pname = "owncloud-client";
version = "2.10.1.7187";
src = fetchurl {
url = "https://download.owncloud.com/desktop/ownCloud/stable/${version}/source/ownCloud-${version}.tar.xz";
sha256 = "sha256-SNabKv5z7viDI3XDQ2mWjEgFKAGSR5K9sI3Tu5eZbwU=";
};
nativeBuildInputs = [ pkg-config cmake extra-cmake-modules ];
buildInputs = [ qtbase qtkeychain sqlite libsecret ];
qtWrapperArgs = [
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret ]}"
];
cmakeFlags = [
"-UCMAKE_INSTALL_LIBDIR"
2019-12-08 04:59:15 +00:00
"-DNO_SHIBBOLETH=1"
];
meta = with lib; {
description = "Synchronise your ownCloud with your computer using this desktop client";
homepage = "https://owncloud.org";
2017-03-17 22:53:10 +00:00
maintainers = [ maintainers.qknight ];
platforms = platforms.unix;
license = licenses.gpl2Plus;
};
}