Merge pull request #5376 from Zert/master

Add poker-eval library
This commit is contained in:
Peter Simons 2014-12-18 14:10:40 +01:00
commit f698fbecd2
3 changed files with 27 additions and 0 deletions

View File

@ -109,6 +109,7 @@
mornfall = "Petr Ročkai <me@mornfall.net>";
MP2E = "Cray Elliott <MP2E@archlinux.us>";
msackman = "Matthew Sackman <matthew@wellquite.org>";
mtreskin = "Max Treskin <zerthurd@gmail.com>";
muflax = "Stefan Dorn <mail@muflax.com>";
nathan-gs = "Nathan Bijnens <nathan@nathan.gs>";
nckx = "Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>";

View File

@ -0,0 +1,24 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "poker-eval-138.0";
src = fetchurl {
url = "http://download.gna.org/pokersource/sources/${name}.tar.gz";
sha256 = "0s6gvcdwdi6j7nrg6mmb5l971gclk0p99bcbfsynx1gnj159wrcj";
};
patchPhase = ''
sed -i -e 's#pkgincludedir = $(includedir)/@PACKAGE@#pkgincludedir = $(includedir)#g' Makefile.in
sed -i -e 's#pkgincludedir = $(includedir)/@PACKAGE@#pkgincludedir = $(includedir)#g' include/Makefile.in
sed -i -e 's#includedir=@includedir@/poker-eval#includedir=@includedir@/#g' poker-eval.pc.in
'';
meta = {
homepage = http://pokersource.org/poker-eval/;
description = "poker hand evaluator";
license = stdenv.lib.licenses.gpl3;
maintainers = [stdenv.lib.maintainers.mtreskin];
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -6634,6 +6634,8 @@ let
podofo = callPackage ../development/libraries/podofo { lua5 = lua5_1; };
poker-eval = callPackage ../development/libraries/poker-eval { };
polkit = callPackage ../development/libraries/polkit {
spidermonkey = spidermonkey_185;
};