nixpkgs/pkgs/development/libraries/futuresql/default.nix

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

18 lines
512 B
Nix
Raw Permalink Normal View History

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 {
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;
}