crafty: simplify expression

This commit is contained in:
John Wiegley 2014-06-07 12:16:20 +00:00
parent 0fcd4f98ff
commit 10d1fd0457
2 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,11 @@
{ stdenv, fetchurl, unzip, fullVariant }:
{ stdenv, fetchurl, unzip, fullVariant ? false }:
stdenv.mkDerivation rec {
name = "crafty-23.4";
name = "crafty-${version}";
version = "23.4";
src = fetchurl {
url = http://www.craftychess.com/crafty-23.4.zip;
url = "http://www.craftychess.com/crafty-${version}.zip";
sha256 = "0rhf4pfxcwj8hqd7bqj98fpdd80v6ss1jnc9kgwx2fw4ksdi37pl";
};

View File

@ -9952,7 +9952,7 @@ let
crack_attack = callPackage ../games/crack-attack { };
crafty = callPackage ../games/crafty { fullVariant = false; };
crafty = callPackage ../games/crafty { };
craftyFull = appendToName "full" (crafty.override { fullVariant = true; });
crrcsim = callPackage ../games/crrcsim {};