2017-09-09 08:38:19 +01:00
|
|
|
{
|
|
|
|
mkDerivation, lib, fetchurl,
|
|
|
|
extra-cmake-modules,
|
2017-12-27 15:15:33 +00:00
|
|
|
qtbase, qttranslations, kcoreaddons, python2, sqlite, postgresql, mysql
|
2017-09-09 08:38:19 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "kdb";
|
2019-04-15 03:14:37 +01:00
|
|
|
version = "3.2.0";
|
2017-09-09 08:38:19 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://kde/stable/${pname}/src/${pname}-${version}.tar.xz";
|
2019-04-15 03:14:37 +01:00
|
|
|
sha256 = "0s909x34a56n3xwhqz27irl2gbzidax0685w2kf34f0liny872cg";
|
2017-09-09 08:38:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
|
|
|
2017-12-27 15:15:33 +00:00
|
|
|
buildInputs = [ qttranslations kcoreaddons python2 sqlite postgresql mysql.connector-c ];
|
2017-09-09 08:38:19 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|