Merge pull request #146786 from veprbl/pr/qvge_darwin

qvge: enable on darwin
This commit is contained in:
Domen Kožar 2021-11-21 16:28:45 +01:00 committed by GitHub
commit c31567f63c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,15 @@
{ lib
, mkDerivation
, stdenv
, fetchFromGitHub
, substituteAll
, wrapQtAppsHook
, qmake
, qtsvg
, qtx11extras
, graphviz
}:
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "qvge";
version = "0.6.3";
@ -25,15 +27,15 @@ mkDerivation rec {
inherit graphviz;
});
nativeBuildInputs = [ qmake ];
nativeBuildInputs = [ wrapQtAppsHook qmake ];
buildInputs = [ qtx11extras ];
buildInputs = if stdenv.isDarwin then [ qtsvg ] else [ qtx11extras ];
meta = with lib; {
description = "Qt Visual Graph Editor";
homepage = "https://github.com/ArsMasiuk/qvge";
license = licenses.mit;
maintainers = with maintainers; [ sikmir ];
platforms = with platforms; linux;
platforms = platforms.unix;
};
}