summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-06-09 23:09:18 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-06-09 23:33:53 -0300
commit0036078a21f199a0a17e4a0e66928986fd52cf26 (patch)
tree8c8c9cea250906f4f840572faa73c63b20495e79
parent1404529e1dfc07bf4bc163fe9d131ffffa65e858 (diff)
downloadnixpkgs-0036078a21f199a0a17e4a0e66928986fd52cf26.tar
nixpkgs-0036078a21f199a0a17e4a0e66928986fd52cf26.tar.gz
nixpkgs-0036078a21f199a0a17e4a0e66928986fd52cf26.tar.bz2
nixpkgs-0036078a21f199a0a17e4a0e66928986fd52cf26.tar.lz
nixpkgs-0036078a21f199a0a17e4a0e66928986fd52cf26.tar.xz
nixpkgs-0036078a21f199a0a17e4a0e66928986fd52cf26.tar.zst
nixpkgs-0036078a21f199a0a17e4a0e66928986fd52cf26.zip
gshogi: use SRI hash format
-rw-r--r--pkgs/games/gshogi/default.nix20
1 files changed, 12 insertions, 8 deletions
diff --git a/pkgs/games/gshogi/default.nix b/pkgs/games/gshogi/default.nix
index c3479f6758a..4b674ac129d 100644
--- a/pkgs/games/gshogi/default.nix
+++ b/pkgs/games/gshogi/default.nix
@@ -1,8 +1,12 @@
-{ lib, buildPythonApplication, fetchFromGitHub
-, gtk3, gobject-introspection
-, wrapGAppsHook, python3Packages }:
+{ lib
+, fetchFromGitHub
+, gobject-introspection
+, gtk3
+, python3
+, wrapGAppsHook
+}:
 
-buildPythonApplication rec {
+python3.pkgs.buildPythonApplication rec {
   pname = "gshogi";
   version = "0.5.1";
 
@@ -10,7 +14,7 @@ buildPythonApplication rec {
     owner = "johncheetham";
     repo = "gshogi";
     rev = "v${version}";
-    sha256 = "06vgndfgwyfi50wg3cw92zspc9z0k7xn2pp6qsjih0l5yih8iwqh";
+    hash = "sha256-EPOIYPSFAhilxuZeYfuZ4Cd29ReJs/E4KNF5/lyzbxs=";
   };
 
   doCheck = false;  # no tests available
@@ -22,15 +26,15 @@ buildPythonApplication rec {
 
   nativeBuildInputs = [ wrapGAppsHook ];
 
-  propagatedBuildInputs = with python3Packages; [
+  propagatedBuildInputs = with python3.pkgs; [
     pygobject3
     pycairo
   ];
 
   meta = with lib; {
-    description = "A graphical implementation of the Shogi board game, also known as Japanese Chess";
     homepage = "http://johncheetham.com/projects/gshogi/";
-    license = licenses.gpl3;
+    description = "A graphical implementation of the Shogi board game, also known as Japanese Chess";
+    license = licenses.gpl3Plus;
     platforms = platforms.linux;
     maintainers = [ maintainers.ciil ];
   };