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
31
pkgs/applications/editors/qxmledit/default.nix
Normal file
31
pkgs/applications/editors/qxmledit/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchFromGitHub,
|
||||
qmake, qtbase, qtxmlpatterns, qtsvg, qtscxml, qtquick1, libGLU }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qxmledit" ;
|
||||
version = "0.9.15" ;
|
||||
src = fetchFromGitHub ( lib.importJSON ./qxmledit.json ) ;
|
||||
nativeBuildInputs = [ qmake ] ;
|
||||
buildInputs = [ qtbase qtxmlpatterns qtsvg qtscxml qtquick1 libGLU ] ;
|
||||
qmakeFlags = [ "CONFIG+=release" ] ;
|
||||
outputs = [ "out" "doc" ] ;
|
||||
|
||||
preConfigure = ''
|
||||
export QXMLEDIT_INST_DATA_DIR="$out/share/data"
|
||||
export QXMLEDIT_INST_TRANSLATIONS_DIR="$out/share/i18n"
|
||||
export QXMLEDIT_INST_INCLUDE_DIR="$out/include"
|
||||
export QXMLEDIT_INST_DIR="$out/bin"
|
||||
export QXMLEDIT_INST_LIB_DIR="$out/lib"
|
||||
export QXMLEDIT_INST_DOC_DIR="$doc"
|
||||
'';
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Simple XML editor based on qt libraries" ;
|
||||
homepage = "https://sourceforge.net/projects/qxmledit";
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.all;
|
||||
} ;
|
||||
}
|
||||
6
pkgs/applications/editors/qxmledit/qxmledit.json
Normal file
6
pkgs/applications/editors/qxmledit/qxmledit.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"owner": "lbellonda",
|
||||
"repo": "qxmledit",
|
||||
"rev": "6136dca50ceb3b4447c91a7a18dcf84785ea11d1",
|
||||
"sha256": "1wcnphalwf0a5gz9r44jgk8wcv1w2qipbwjkbzkra2kxanxns834"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue