nixpkgs/pkgs/games/gnushogi/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

20 lines
551 B
Nix

{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
pname = "gnushogi";
version = "1.4.2";
buildInputs = [ zlib ];
src = fetchurl {
url = "mirror://gnu/gnushogi/${pname}-${version}.tar.gz";
sha256 = "0a9bsl2nbnb138lq0h14jfc5xvz7hpb2bcsj4mjn6g1hcsl4ik0y";
};
meta = with stdenv.lib; {
description = "GNU implementation of Shogi, also known as Japanese Chess";
homepage = https://www.gnu.org/software/gnushogi/;
license = licenses.gpl3;
maintainers = [ maintainers.ciil ];
platforms = platforms.unix;
};
}