2023-11-12 08:17:56 +00:00
|
|
|
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, qtbase }:
|
2023-08-24 10:59:41 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "futuresql";
|
|
|
|
version = "0.1.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2023-12-01 22:43:21 +00:00
|
|
|
url = "mirror://kde/stable/futuresql/futuresql-${version}.tar.xz";
|
2023-08-24 10:59:41 +00:00
|
|
|
hash = "sha256-5E7Y1alhizynuimD7ZxfdXLm4KWxmflIaINLccy+vUM=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ qtbase ];
|
2023-11-12 08:17:56 +00:00
|
|
|
cmakeFlags = ["-DQT_MAJOR_VERSION=${lib.versions.major qtbase.version}"];
|
2023-08-24 10:59:41 +00:00
|
|
|
|
|
|
|
# a library, nothing to wrap
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
}
|