Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / skytemple-dtef / default.nix
blob401e5a8e015b74e026ee3c030aa1196260269457
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pillow
5 , pytestCheckHook
6 , pythonOlder
7 , skytemple-files
8 }:
10 buildPythonPackage rec {
11   pname = "skytemple-dtef";
12   version = "1.1.5";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "SkyTemple";
19     repo = pname;
20     rev = version;
21     hash = "sha256-QL+nLmjz0wCED2RjidIDK0tB6mAPnoaSJWpyLFu0pP4=";
22   };
24   propagatedBuildInputs = [
25     pillow
26     skytemple-files
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "skytemple_dtef"
35   ];
37   meta = with lib; {
38     description = "A format for standardized rule-based tilesets with 256 adjacency combinations";
39     homepage = "https://github.com/SkyTemple/skytemple-dtef";
40     license = licenses.gpl3Plus;
41     maintainers = with maintainers; [ marius851000 xfix ];
42   };