Add poker-eval library

This commit is contained in:
Maxim Treskin 2014-12-18 01:05:03 +01:00
parent 51277882d0
commit 70cd78ff89
2 changed files with 26 additions and 0 deletions

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; }; podofo = callPackage ../development/libraries/podofo { lua5 = lua5_1; };
poker-eval = callPackage ../development/libraries/poker-eval { };
polkit = callPackage ../development/libraries/polkit { polkit = callPackage ../development/libraries/polkit {
spidermonkey = spidermonkey_185; spidermonkey = spidermonkey_185;
}; };