mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
qgo: use qt5's mkDerivation
This commit is contained in:
parent
a8eba26d2c
commit
f8da067a2a
|
@ -1,17 +1,17 @@
|
|||
{ stdenv
|
||||
{ lib
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, qmake
|
||||
, qtbase
|
||||
, qtmultimedia
|
||||
, qttranslations
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
mkDerivation {
|
||||
pname = "qgo";
|
||||
version = "unstable-2017-12-18";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A Go client based on Qt5";
|
||||
longDescription = ''
|
||||
qGo is a Go Client based on Qt 5. It supports playing online at
|
||||
|
@ -41,7 +41,7 @@ stdenv.mkDerivation {
|
|||
postPatch = ''
|
||||
sed -i 's|@out@|'"''${out}"'|g' src/src.pro src/defines.h
|
||||
'';
|
||||
nativeBuildInputs = [ makeWrapper qmake ];
|
||||
nativeBuildInputs = [ qmake ];
|
||||
buildInputs = [ qtbase qtmultimedia qttranslations ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue