qgo: use qt5's mkDerivation
This commit is contained in:
parent
a8eba26d2c
commit
f8da067a2a
@ -1,17 +1,17 @@
|
|||||||
{ stdenv
|
{ lib
|
||||||
|
, mkDerivation
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, makeWrapper
|
|
||||||
, qmake
|
, qmake
|
||||||
, qtbase
|
, qtbase
|
||||||
, qtmultimedia
|
, qtmultimedia
|
||||||
, qttranslations
|
, qttranslations
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
mkDerivation {
|
||||||
pname = "qgo";
|
pname = "qgo";
|
||||||
version = "unstable-2017-12-18";
|
version = "unstable-2017-12-18";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = "A Go client based on Qt5";
|
description = "A Go client based on Qt5";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
qGo is a Go Client based on Qt 5. It supports playing online at
|
qGo is a Go Client based on Qt 5. It supports playing online at
|
||||||
@ -41,7 +41,7 @@ stdenv.mkDerivation {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i 's|@out@|'"''${out}"'|g' src/src.pro src/defines.h
|
sed -i 's|@out@|'"''${out}"'|g' src/src.pro src/defines.h
|
||||||
'';
|
'';
|
||||||
nativeBuildInputs = [ makeWrapper qmake ];
|
nativeBuildInputs = [ qmake ];
|
||||||
buildInputs = [ qtbase qtmultimedia qttranslations ];
|
buildInputs = [ qtbase qtmultimedia qttranslations ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user