diff options
author | Daniel Nagy <danielnagy@posteo.de> | 2022-11-28 23:34:06 +0100 |
---|---|---|
committer | Daniel Nagy <danielnagy@posteo.de> | 2023-04-01 13:45:00 +0200 |
commit | 3e81474faf6e40fcd6f17c1df220fef739277992 (patch) | |
tree | 820c2fa373e444688f83b432afb46087a6ee4fd7 /pkgs/applications/editors/qxmledit | |
parent | b1581c36189e5063163acb24822ed8a343bf6a8f (diff) | |
download | nixlib-3e81474faf6e40fcd6f17c1df220fef739277992.tar nixlib-3e81474faf6e40fcd6f17c1df220fef739277992.tar.gz nixlib-3e81474faf6e40fcd6f17c1df220fef739277992.tar.bz2 nixlib-3e81474faf6e40fcd6f17c1df220fef739277992.tar.lz nixlib-3e81474faf6e40fcd6f17c1df220fef739277992.tar.xz nixlib-3e81474faf6e40fcd6f17c1df220fef739277992.tar.zst nixlib-3e81474faf6e40fcd6f17c1df220fef739277992.zip |
qxmledit: 0.9.15 -> 0.9.17
Changelog: https://github.com/lbellonda/qxmledit/blob/0.9.17/NEWS
Diffstat (limited to 'pkgs/applications/editors/qxmledit')
-rw-r--r-- | pkgs/applications/editors/qxmledit/default.nix | 35 | ||||
-rw-r--r-- | pkgs/applications/editors/qxmledit/qxmledit.json | 6 |
2 files changed, 23 insertions, 18 deletions
diff --git a/pkgs/applications/editors/qxmledit/default.nix b/pkgs/applications/editors/qxmledit/default.nix index c13b6a4d53e9..4b59da01ba21 100644 --- a/pkgs/applications/editors/qxmledit/default.nix +++ b/pkgs/applications/editors/qxmledit/default.nix @@ -1,14 +1,24 @@ -{ lib, stdenv, fetchFromGitHub, - qmake, qtbase, qtxmlpatterns, qtsvg, qtscxml, qtquick1, libGLU }: +{ 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" ] ; + pname = "qxmledit"; + version = "0.9.17"; + + outputs = [ "out" "doc" ]; + + src = fetchFromGitHub { + 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 = '' export QXMLEDIT_INST_DATA_DIR="$out/share/data" @@ -23,9 +33,10 @@ stdenv.mkDerivation rec { meta = with lib; { 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"; license = licenses.lgpl2; - platforms = platforms.all; - } ; + platforms = platforms.unix; + changelog = "https://github.com/lbellonda/qxmledit/blob/${version}/NEWS"; + }; } diff --git a/pkgs/applications/editors/qxmledit/qxmledit.json b/pkgs/applications/editors/qxmledit/qxmledit.json deleted file mode 100644 index 88d2e3c4c2b9..000000000000 --- a/pkgs/applications/editors/qxmledit/qxmledit.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "owner": "lbellonda", - "repo": "qxmledit", - "rev": "6136dca50ceb3b4447c91a7a18dcf84785ea11d1", - "sha256": "1wcnphalwf0a5gz9r44jgk8wcv1w2qipbwjkbzkra2kxanxns834" -} |