biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / nsz / default.nix
blob64fb82e1ea06993f09081fd596ee7e5bf184d203
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pycryptodome,
6   pythonOlder,
7   enlighten,
8   zstandard,
9   withGUI ? true,
10   kivy,
13 buildPythonPackage rec {
14   pname = "nsz";
15   version = "4.6.1";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "nicoboss";
22     repo = pname;
23     rev = "refs/tags/${version}";
24     hash = "sha256-ch4HzQFa95o3HMsi7R0LpPWmhN/Z9EYfrmCdUZLwPSE=";
25   };
27   propagatedBuildInputs = [
28     pycryptodome
29     enlighten
30     zstandard
31   ] ++ lib.optional withGUI kivy;
33   # do not check, as nsz requires producation keys
34   # dumped from a Nintendo Switch.
35   doCheck = false;
37   meta = with lib; {
38     homepage = "https://github.com/nicoboss/nsz";
39     description = "Homebrew compatible NSP/XCI compressor/decompressor";
40     mainProgram = "nsz";
41     changelog = "https://github.com/nicoboss/nsz/releases/tag/${version}";
42     license = licenses.mit;
43     maintainers = with maintainers; [ eyjhb ];
44   };