commit
741b917812
3 changed files with 34 additions and 0 deletions
30
pkgs/development/python-modules/nsz/default.nix
Normal file
30
pkgs/development/python-modules/nsz/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue