nixpkgs/pkgs/development/libraries/kdb/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
775 B
Nix

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