Merge pull request #203936 from nagy/qxmledit

This commit is contained in:
Sandro 2023-04-01 18:30:21 +02:00 committed by GitHub
commit c05f1ab74a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 18 deletions

View file

@ -1,14 +1,24 @@
{ lib, stdenv, fetchFromGitHub, { lib, stdenv, fetchFromGitHub, qmake, qtbase, qtxmlpatterns, qtsvg, qtscxml
qmake, qtbase, qtxmlpatterns, qtsvg, qtscxml, qtquick1, libGLU }: , qtquick1, libGLU }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "qxmledit" ; pname = "qxmledit";
version = "0.9.15" ; version = "0.9.17";
src = fetchFromGitHub ( lib.importJSON ./qxmledit.json ) ;
nativeBuildInputs = [ qmake ] ; outputs = [ "out" "doc" ];
buildInputs = [ qtbase qtxmlpatterns qtsvg qtscxml qtquick1 libGLU ] ;
qmakeFlags = [ "CONFIG+=release" ] ; src = fetchFromGitHub {
outputs = [ "out" "doc" ] ; owner = "lbellonda";
repo = pname;
rev = version;
hash = "sha256-UzN5U+aC/uKokSdeUG2zv8+mkaH4ndYZ0sfzkpQ3l1M=";
};
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase qtxmlpatterns qtsvg qtscxml qtquick1 libGLU ];
qmakeFlags = [ "CONFIG+=release" ];
preConfigure = '' preConfigure = ''
export QXMLEDIT_INST_DATA_DIR="$out/share/data" export QXMLEDIT_INST_DATA_DIR="$out/share/data"
@ -23,9 +33,10 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin; broken = stdenv.isDarwin;
description = "Simple XML editor based on qt libraries" ; description = "Simple XML editor based on qt libraries";
homepage = "https://sourceforge.net/projects/qxmledit"; homepage = "https://sourceforge.net/projects/qxmledit";
license = licenses.lgpl2; license = licenses.lgpl2;
platforms = platforms.all; platforms = platforms.unix;
} ; changelog = "https://github.com/lbellonda/qxmledit/blob/${version}/NEWS";
};
} }

View file

@ -1,6 +0,0 @@
{
"owner": "lbellonda",
"repo": "qxmledit",
"rev": "6136dca50ceb3b4447c91a7a18dcf84785ea11d1",
"sha256": "1wcnphalwf0a5gz9r44jgk8wcv1w2qipbwjkbzkra2kxanxns834"
}