pokerth: use mkDerivation from Qt

This commit is contained in:
Martin Milata 2020-04-07 16:48:32 +02:00
parent d7b98129fe
commit 75bb71bc70

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, runCommand, fetchpatch, patchutils, qmake, qtbase { mkDerivation, stdenv, fetchFromGitHub, runCommand, fetchpatch, patchutils, qmake, qtbase
, SDL, SDL_mixer, boost, curl, gsasl, libgcrypt, libircclient, protobuf, sqlite , SDL, SDL_mixer, boost, curl, gsasl, libgcrypt, libircclient, protobuf, sqlite
, tinyxml2, target ? "client" }: , tinyxml2, target ? "client" }:
@ -15,7 +15,7 @@ let
''; '';
in in
stdenv.mkDerivation rec { mkDerivation rec {
name = "pokerth-${target}-${version}"; name = "pokerth-${target}-${version}";
version = "1.1.2"; version = "1.1.2";
@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = { meta = {
homepage = https://www.pokerth.net; homepage = "https://www.pokerth.net";
description = "Poker game ${target}"; description = "Poker game ${target}";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ obadz yegortimoshenko ]; maintainers = with maintainers; [ obadz yegortimoshenko ];