mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
18 lines
512 B
Nix
18 lines
512 B
Nix
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, qtbase }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "futuresql";
|
|
version = "0.1.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/futuresql/futuresql-${version}.tar.xz";
|
|
hash = "sha256-5E7Y1alhizynuimD7ZxfdXLm4KWxmflIaINLccy+vUM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
buildInputs = [ qtbase ];
|
|
cmakeFlags = ["-DQT_MAJOR_VERSION=${lib.versions.major qtbase.version}"];
|
|
|
|
# a library, nothing to wrap
|
|
dontWrapQtApps = true;
|
|
}
|