forked from mirrors/nixpkgs
gshogi: use SRI hash format
This commit is contained in:
parent
1404529e1d
commit
0036078a21
|
@ -1,8 +1,12 @@
|
||||||
{ lib, buildPythonApplication, fetchFromGitHub
|
{ lib
|
||||||
, gtk3, gobject-introspection
|
, fetchFromGitHub
|
||||||
, wrapGAppsHook, python3Packages }:
|
, gobject-introspection
|
||||||
|
, gtk3
|
||||||
|
, python3
|
||||||
|
, wrapGAppsHook
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "gshogi";
|
pname = "gshogi";
|
||||||
version = "0.5.1";
|
version = "0.5.1";
|
||||||
|
|
||||||
|
@ -10,7 +14,7 @@ buildPythonApplication rec {
|
||||||
owner = "johncheetham";
|
owner = "johncheetham";
|
||||||
repo = "gshogi";
|
repo = "gshogi";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "06vgndfgwyfi50wg3cw92zspc9z0k7xn2pp6qsjih0l5yih8iwqh";
|
hash = "sha256-EPOIYPSFAhilxuZeYfuZ4Cd29ReJs/E4KNF5/lyzbxs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = false; # no tests available
|
doCheck = false; # no tests available
|
||||||
|
@ -22,15 +26,15 @@ buildPythonApplication rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapGAppsHook ];
|
nativeBuildInputs = [ wrapGAppsHook ];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
pygobject3
|
pygobject3
|
||||||
pycairo
|
pycairo
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A graphical implementation of the Shogi board game, also known as Japanese Chess";
|
|
||||||
homepage = "http://johncheetham.com/projects/gshogi/";
|
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;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.ciil ];
|
maintainers = [ maintainers.ciil ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue