mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
bd01fad0ed
In line with the Nixpkgs manual. A mechanical change, done with this command: find pkgs -name "*.nix" | \ while read f; do \ sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \ done I manually skipped some: * Descriptions starting with an abbreviation, a user name or package name * Frequently generated expressions (haskell-packages.nix)
25 lines
823 B
Nix
25 lines
823 B
Nix
{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;
|
|
};
|
|
}
|