Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions pkgs/applications/misc/dfilemanager/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{ stdenv, mkDerivation, fetchgit, cmake, file, qtbase, qttools, solid }:
{ stdenv, mkDerivation, fetchFromGitHub, cmake, file, qtbase, qttools, solid }:

let
version = "git-2016-01-10";
in
mkDerivation {
pname = "dfilemanager";
inherit version;
src = fetchgit {
url = "git://git.code.sf.net/p/dfilemanager/code";
rev = "2c5078b05e0ad74c037366be1ab3e6a03492bde4";
sha256 = "1qwhnlcc2j8sr1f3v63sxs3m7q7w1xy6c2jqsnznjgm23b5h3hxd";
version = "git-2020-09-04";

src = fetchFromGitHub {
owner = "probonopd";
repo = "dfilemanager";
rev = "c592d643d76942dc2c2ccb6e4bfdf53f5e805e48";
sha256 = "7hIgaWjjOck5i4QbeVeQK7yrjK4yDoAZ5qY9RhM5ABY=";
};

buildInputs = [ cmake qtbase qttools file solid ];
Expand Down
28 changes: 15 additions & 13 deletions pkgs/applications/misc/merkaartor/default.nix
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
{ stdenv, fetchFromGitHub, makeWrapper, qmake, pkgconfig, boost, gdal, proj
, qtbase, qtsvg, qtwebview, qtwebkit }:
{ mkDerivation, lib, fetchFromGitHub, qmake, pkgconfig, fetchpatch
, boost, gdal, proj, qtbase, qtsvg, qtwebview, qtwebkit }:

stdenv.mkDerivation rec {
mkDerivation rec {
pname = "merkaartor";
version = "unstable-2019-11-12";
version = "0.18.4";

src = fetchFromGitHub {
owner = "openstreetmap";
repo = "merkaartor";
rev = "29b3388680a03f1daac0037a2b504ea710da879a";
sha256 = "0h3d3srzl06p2ajq911j05zr4vkl88qij18plydx45yqmvyvh0xz";
rev = version;
sha256 = "vwO4/a7YF9KbpxcFGTFCdG6SfwEyhISlEtcA+rMebUA=";
};

nativeBuildInputs = [ makeWrapper qmake pkgconfig ];
patches = [
(fetchpatch {
url = "https://github.com/openstreetmap/merkaartor/commit/e72553a7ea2c7ba0634cc3afcd27a9f7cfef089c.patch";
sha256 = "NAisplnS3xHSlRpX+fH15NpbaD+uM57OCsTYGKlIR7U=";
})
];

nativeBuildInputs = [ qmake pkgconfig ];

buildInputs = [ boost gdal proj qtbase qtsvg qtwebview qtwebkit ];

enableParallelBuilding = true;

NIX_CFLAGS_COMPILE = "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H";

postInstall = ''
wrapProgram $out/bin/merkaartor \
--set QT_QPA_PLATFORM_PLUGIN_PATH ${qtbase.bin}/lib/qt-*/plugins/platforms
'';

meta = with stdenv.lib; {
meta = with lib; {
description = "OpenStreetMap editor";
homepage = "http://merkaartor.be/";
license = licenses.gpl2Plus;
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/networking/seafile-client/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

mkDerivation rec {
pname = "seafile-client";
version = "7.0.10";
version = "8.0.1";

src = fetchFromGitHub {
owner = "haiwen";
repo = "seafile-client";
rev = "v${version}";
sha256 = "082v1qbysrqb7m0lk56fpx8n403fjxbvbj0svm4mkjl6mzs2cv22";
rev = "b4b944921c7efef13a93d693c45c997943899dec";
sha256 = "2vV+6ZXjVg81JVLfWeD0UK+RdmpBxBU2Ozx790WFSyw=";
};

nativeBuildInputs = [ pkgconfig cmake ];
Expand Down
19 changes: 13 additions & 6 deletions pkgs/development/tools/solarus-quest-editor/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, mkDerivation, fetchFromGitLab, cmake, luajit,
SDL2, SDL2_image, SDL2_ttf, physfs,
openal, libmodplug, libvorbis, solarus,
qtbase, qttools, glm }:
{ lib, mkDerivation, fetchFromGitLab, cmake, luajit
, SDL2, SDL2_image, SDL2_ttf, physfs, fetchpatch
, openal, libmodplug, libvorbis, solarus
, qtbase, qttools, glm }:

mkDerivation rec {
pname = "solarus-quest-editor";
Expand All @@ -13,7 +13,14 @@ mkDerivation rec {
rev = "v${version}";
sha256 = "1qbc2j9kalk7xqk9j27s7wnm5zawiyjs47xqkqphw683idmzmjzn";
};


patches = [
(fetchpatch {
url = "https://gitlab.com/solarus-games/solarus-quest-editor/-/commit/81d5c7f1602cf355684d70a5e3449fefccfc44b8.patch";
sha256 = "tVUxkkDp2PcOHGy4dGvUcYj9gF7k4LN21VuxohCw9NE=";
})
];

buildInputs = [ cmake luajit SDL2
SDL2_image SDL2_ttf physfs
openal libmodplug libvorbis
Expand All @@ -31,5 +38,5 @@ mkDerivation rec {
maintainers = [ maintainers.Nate-Devv ];
platforms = platforms.linux;
};

}
34 changes: 25 additions & 9 deletions pkgs/misc/seafile-shared/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,38 @@
{stdenv, fetchFromGitHub, which, autoreconfHook, pkgconfig, vala, python2, curl, libevent, glib, libsearpc, sqlite, intltool, fuse, libuuid }:
{ stdenv
, fetchFromGitHub
, autoreconfHook
, ccnet
, curl
, fuse
, glib
, intltool
, libevent
, libsearpc
, libuuid
, pkg-config
, python3
, sqlite
, vala
, which
}:

stdenv.mkDerivation rec {
pname = "seafile-shared";
version = "7.0.10";
version = "8.0.1";

src = fetchFromGitHub {
owner = "haiwen";
repo = "seafile";
rev = "v${version}";
sha256 = "0b3297cbagi9x8dnw2gjifmb8dk6vyhg6vfrfsanm1wyx8pgw2jg";
rev = "d34499a2aafa024623a4210fe7f663cef13fe9a6";
sha256 = "VKoGr3CTDFg3Q0X+MTlwa4BbfLB+28FeTyTJRCq37RA=";
};

nativeBuildInputs = [
autoreconfHook
vala
pkgconfig
python2
python2.pkgs.wrapPython
pkg-config
python3
python3.pkgs.wrapPython
];

buildInputs = [
Expand All @@ -30,10 +46,10 @@ stdenv.mkDerivation rec {
configureFlags = [
"--disable-server"
"--disable-console"
"--with-python3"
];

pythonPath = with python2.pkgs; [
future
pythonPath = with python3.pkgs; [
libsearpc
];

Expand Down
17 changes: 8 additions & 9 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13601,7 +13601,7 @@ in

hdt = callPackage ../misc/hdt {};

herqq = libsForQt514.callPackage ../development/libraries/herqq { };
herqq = libsForQt5.callPackage ../development/libraries/herqq { };

hidapi = callPackage ../development/libraries/hidapi {
# TODO: remove once `udev` is `systemdMinimal` everywhere.
Expand Down Expand Up @@ -20722,7 +20722,7 @@ in

bevelbar = callPackage ../applications/window-managers/bevelbar { };

bibletime = libsForQt514.callPackage ../applications/misc/bibletime { };
bibletime = libsForQt5.callPackage ../applications/misc/bibletime { };

bino3d = libsForQt5.callPackage ../applications/video/bino3d {
glew = glew110;
Expand Down Expand Up @@ -21080,7 +21080,7 @@ in

dfasma = libsForQt5.callPackage ../applications/audio/dfasma { };

dfilemanager = libsForQt514.callPackage ../applications/misc/dfilemanager { };
dfilemanager = libsForQt5.callPackage ../applications/misc/dfilemanager { };

dia = callPackage ../applications/graphics/dia {
inherit (pkgs.gnome2) libart_lgpl libgnomeui;
Expand Down Expand Up @@ -21912,7 +21912,7 @@ in

manul = callPackage ../development/tools/manul { };

mindforger = libsForQt514.callPackage ../applications/editors/mindforger { };
mindforger = libsForQt5.callPackage ../applications/editors/mindforger { };

mi2ly = callPackage ../applications/audio/mi2ly {};

Expand Down Expand Up @@ -22946,8 +22946,7 @@ in

mercurialFull = appendToName "full" (pkgs.mercurial.override { guiSupport = true; });

# Needs qtwebkit which is broken on qt5.15
merkaartor = libsForQt514.callPackage ../applications/misc/merkaartor { };
merkaartor = libsForQt5.callPackage ../applications/misc/merkaartor { };

meshlab = libsForQt5.callPackage ../applications/graphics/meshlab { };

Expand Down Expand Up @@ -24156,7 +24155,7 @@ in

scribusUnstable = libsForQt5.callPackage ../applications/office/scribus/unstable.nix { };

seafile-client = libsForQt514.callPackage ../applications/networking/seafile-client { };
seafile-client = libsForQt5.callPackage ../applications/networking/seafile-client { };

sent = callPackage ../applications/misc/sent { };

Expand Down Expand Up @@ -26437,8 +26436,8 @@ in
};

# solarus and solarus-quest-editor must use the same version of Qt.
solarus = libsForQt514.callPackage ../games/solarus { };
solarus-quest-editor = libsForQt514.callPackage ../development/tools/solarus-quest-editor { };
solarus = libsForQt5.callPackage ../games/solarus { };
solarus-quest-editor = libsForQt5.callPackage ../development/tools/solarus-quest-editor { };

# You still can override by passing more arguments.
space-orbit = callPackage ../games/space-orbit { };
Expand Down