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

30 lines
795 B
Nix
Raw Normal View History

2017-09-09 09:38:19 +02:00
{
mkDerivation, lib, fetchurl,
extra-cmake-modules,
qtbase, qttranslations, kcoreaddons, python2, sqlite, postgresql, mysql
2017-09-09 09:38:19 +02:00
}:
mkDerivation rec {
pname = "kdb";
version = "3.2.0";
2017-09-09 09:38:19 +02:00
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://kde/stable/${pname}/src/${name}.tar.xz";
sha256 = "0s909x34a56n3xwhqz27irl2gbzidax0685w2kf34f0liny872cg";
2017-09-09 09:38:19 +02:00
};
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ qttranslations kcoreaddons python2 sqlite postgresql mysql.connector-c ];
2017-09-09 09:38:19 +02: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 ];
};
}