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
|
|
@ -0,0 +1,10 @@
|
|||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -215,7 +215,6 @@
|
||||
VERSION ${QTKEYCHAIN_VERSION}
|
||||
SOVERSION ${QTKEYCHAIN_SOVERSION}
|
||||
MACOSX_RPATH 1
|
||||
- INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
|
||||
INSTALL_RPATH_USE_LINK_PATH TRUE
|
||||
)
|
||||
|
||||
40
pkgs/development/libraries/qtkeychain/default.nix
Normal file
40
pkgs/development/libraries/qtkeychain/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, qtbase, qttools
|
||||
, CoreFoundation, Security
|
||||
, libsecret
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qtkeychain";
|
||||
version = "0.12.0"; # verify after nix-build with `grep -R "set(PACKAGE_VERSION " result/`
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "frankosterfeld";
|
||||
repo = "qtkeychain";
|
||||
rev = "v${version}";
|
||||
sha256 = "0gi1nx4bcc1vwfw41cif3xi2i59229vy0kc2r5959d8n6yv31kfr"; # v0.9.1
|
||||
};
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
patches = [ ./0002-Fix-install-name-Darwin.patch ];
|
||||
|
||||
cmakeFlags = [ "-DQT_TRANSLATIONS_DIR=share/qt/translations" ];
|
||||
|
||||
nativeBuildInputs = [ cmake ]
|
||||
++ lib.optionals (!stdenv.isDarwin) [ pkg-config ] # for finding libsecret
|
||||
;
|
||||
|
||||
buildInputs = lib.optionals (!stdenv.isDarwin) [ libsecret ]
|
||||
++ [ qtbase qttools ]
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
CoreFoundation Security
|
||||
]
|
||||
;
|
||||
|
||||
meta = {
|
||||
description = "Platform-independent Qt API for storing passwords securely";
|
||||
homepage = "https://github.com/frankosterfeld/qtkeychain";
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue