2017-09-09 10:38:19 +03:00
|
|
|
{
|
|
|
|
mkDerivation, lib, fetchurl,
|
|
|
|
extra-cmake-modules,
|
2017-12-27 18:15:33 +03:00
|
|
|
qtbase, qttranslations, kcoreaddons, python2, sqlite, postgresql, mysql
|
2017-09-09 10:38:19 +03:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "kdb";
|
2018-03-20 17:53:15 +03:00
|
|
|
version = "3.1.0";
|
2017-09-09 10:38:19 +03:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/src/${name}.tar.xz";
|
2018-03-20 17:53:15 +03:00
|
|
|
sha256 = "1wi9z7j0nr9wi6aqqkdcpnr38ixyxbv00sblya7pakdf96hlamhp";
|
2017-09-09 10:38:19 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
|
|
|
2017-12-27 18:15:33 +03:00
|
|
|
buildInputs = [ qttranslations kcoreaddons python2 sqlite postgresql mysql.connector-c ];
|
2017-09-09 10:38:19 +03:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ qtbase ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A database connectivity and creation framework for various database vendors";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ zraexy ];
|
|
|
|
};
|
|
|
|
}
|