evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / gn / gnushogi / package.nix
blob38f76de1e7a0e12315df4c053e70fe1e13fd5d04
1 { lib
2 , stdenv
3 , fetchurl
4 , fetchpatch
5 , zlib
6 }:
8 stdenv.mkDerivation rec {
9   pname = "gnushogi";
10   version = "1.4.2";
12   src = fetchurl {
13     url = "mirror://gnu/gnushogi/${pname}-${version}.tar.gz";
14     hash = "sha256-HsxIqGYwPGNlJVKzJdaF5+9emJMkQIApGmHZZQXVKyk=";
15   };
17   patches = [
18     (fetchpatch {
19       url = "https://sources.debian.org/data/main/g/gnushogi/1.4.2-7/debian/patches/01-make-dont-ignore";
20       hash = "sha256-Aw0zfH+wkj+rQQzKIn6bSilP76YIO27FwJ8n1UzG6ow=";
21     })
22     (fetchpatch {
23       url = "https://sources.debian.org/data/main/g/gnushogi/1.4.2-7/debian/patches/globals";
24       hash = "sha256-wZJBPMYSz4n1kOyLmR9QOp70650R9xXQUWD5hvaMRok=";
25     })
26   ];
28   buildInputs = [ zlib ];
30   meta = with lib; {
31     description = "GNU implementation of Shogi, also known as Japanese Chess";
32     mainProgram = "gnushogi";
33     homepage = "https://www.gnu.org/software/gnushogi/";
34     license = licenses.gpl3;
35     maintainers = [ maintainers.ciil ];
36     platforms = platforms.unix;
37   };