Merge pull request #198658 from eyJhb/nsz

nsz: init at 4.1.0
This commit is contained in:
markuskowa 2022-11-01 22:59:06 +01:00 committed by GitHub
commit 741b917812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ 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 ];
};
}

View file

@ -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 { };

View file

@ -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 { };