Unverified Commit 741b9178 authored by markuskowa's avatar markuskowa Committed by GitHub
Browse files

Merge pull request #198658 from eyJhb/nsz

nsz: init at 4.1.0
parents b9f986fb 8f6a2a16
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchFromGitHub, pycryptodome, enlighten, zstandard
, withGUI ? true
, kivy
}:

buildPythonPackage rec {
  pname = "nsz";
  version = "4.1.0";

  src = fetchFromGitHub {
    owner = "nicoboss";
    repo = pname;
    rev = version;
    sha256 = "sha256-tdngXV+VUOAkg3lF2NOmw0mBeSEE+YpUfuKukTKcPnM=";
  };

  propagatedBuildInputs = [pycryptodome enlighten zstandard ]
    ++ lib.optional withGUI kivy;

  # do not check, as nsz requires producation keys
  # dumped from a Nintendo Switch.
  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/nicoboss/nsz";
    description = "NSZ - Homebrew compatible NSP/XCI compressor/decompressor";
    license = licenses.mit;
    maintainers = with maintainers; [ eyjhb ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -4652,6 +4652,8 @@ with pkgs;
  nsync = callPackage ../development/libraries/nsync { };
  nsz = with python3.pkgs; toPythonApplication nsz;
  nwipe = callPackage ../tools/security/nwipe { };
  nx2elf = callPackage ../tools/compression/nx2elf { };
+2 −0
Original line number Diff line number Diff line
@@ -6287,6 +6287,8 @@ self: super: with self; {

  nvidia-ml-py = callPackage ../development/python-modules/nvidia-ml-py { };

  nsz = callPackage ../development/python-modules/nsz { };

  nxt-python = callPackage ../development/python-modules/nxt-python { };

  python-nvd3 = callPackage ../development/python-modules/python-nvd3 { };