chessx: 1.3.2 -> 1.4.0 (#17270)

This commit is contained in:
Kranium Gikos Mendoza 2016-07-28 03:02:45 +08:00 committed by Rok Garbas
parent 68de205c5b
commit 7a88636e69

View File

@ -1,10 +1,10 @@
{ stdenv, pkgconfig, zlib, qtbase, qtsvg, qttools, qtmultimedia, qmakeHook, fetchurl }: { stdenv, pkgconfig, zlib, qtbase, qtsvg, qttools, qtmultimedia, qmakeHook, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "chessx-${version}"; name = "chessx-${version}";
version = "1.3.2"; version = "1.4.0";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/chessx/chessx-${version}.tgz"; url = "mirror://sourceforge/chessx/chessx-${version}.tgz";
sha256 = "b136cf56d37d34867cdb9538176e1703b14f61b3384885b6f100580d0af0a3ff"; sha256 = "1x10c9idj2qks8xk9dy7aw3alc5w7z1kvv6dnahs0428j0sp4a74";
}; };
buildInputs = [ buildInputs = [
stdenv stdenv
@ -19,10 +19,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
installPhase = '' installPhase = ''
runHook preInstall
mkdir -p "$out/bin" mkdir -p "$out/bin"
mkdir -p "$out/share/applications" mkdir -p "$out/share/applications"
cp -pr release/chessx "$out/bin" cp -pr release/chessx "$out/bin"
cp -pr unix/chessx.desktop "$out/share/applications" cp -pr unix/chessx.desktop "$out/share/applications"
runHook postInstall
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
@ -30,6 +32,5 @@ stdenv.mkDerivation rec {
description = "ChessX allows you to browse and analyse chess games"; description = "ChessX allows you to browse and analyse chess games";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = [maintainers.luispedro]; maintainers = [maintainers.luispedro];
broken = true;
}; };
} }