ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / explorerscript / default.nix
bloba77c31e26a632e9aac7da5c1d2af0cdb7072778e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , fetchpatch
5 , antlr4-python3-runtime
6 , igraph
7 , pygments
8 }:
10 buildPythonPackage rec {
11   pname = "explorerscript";
12   version = "0.1.1";
14   src = fetchFromGitHub {
15     owner = "SkyTemple";
16     repo = pname;
17     rev = version;
18     sha256 = "1vzyliiyrxx8l9sfbqcyr4xn5swd7znkxy69kn0vb5rban8hm9c1";
19   };
21   patches = [
22     # https://github.com/SkyTemple/ExplorerScript/pull/17
23     (fetchpatch {
24       url = "https://github.com/SkyTemple/ExplorerScript/commit/47d8b3d246881d675a82b4049b87ed7d9a0e1b15.patch";
25       sha256 = "0sadw9l2nypl2s8lw526lvbdj4rzqdvrjncx4zxxgyp3x47csb48";
26     })
27   ];
29   propagatedBuildInputs = [ antlr4-python3-runtime igraph ];
30   checkInputs = [ pygments ];
32   meta = with lib; {
33     homepage = "https://github.com/SkyTemple/explorerscript";
34     description = "A programming language + compiler/decompiler for creating scripts for Pokémon Mystery Dungeon Explorers of Sky";
35     license = licenses.mit;
36     maintainers = with maintainers; [ xfix ];
37   };