uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
49
pkgs/development/libraries/kdb/default.nix
Normal file
49
pkgs/development/libraries/kdb/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ mkDerivation
|
||||
, lib
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, extra-cmake-modules
|
||||
, qtbase
|
||||
, qttranslations
|
||||
, kcoreaddons
|
||||
, python3
|
||||
, sqlite
|
||||
, postgresql
|
||||
, libmysqlclient
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "kdb";
|
||||
version = "3.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/${pname}/src/${pname}-${version}.tar.xz";
|
||||
sha256 = "0s909x34a56n3xwhqz27irl2gbzidax0685w2kf34f0liny872cg";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix build with newer QT versions
|
||||
(fetchpatch {
|
||||
url = "https://github.com/KDE/kdb/commit/b36d74f13a1421437a725fb74502c993c359392a.patch";
|
||||
sha256 = "sha256-ENMZTUZ3yCKUhHPMUcDe1cMY2GLBz0G3ZvMRyj8Hfrw=";
|
||||
})
|
||||
# fix build with newer posgresql versions
|
||||
(fetchpatch {
|
||||
url = "https://github.com/KDE/kdb/commit/40cdaea4d7824cc1b0d26e6ad2dcb61fa2077911.patch";
|
||||
sha256 = "sha256-cZpX6L/NZX3vztnh0s2+v4J7kBcKgUdecY53LRp8CwM=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
|
||||
buildInputs = [ qttranslations kcoreaddons python3 sqlite postgresql libmysqlclient ];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue