Merge pull request #249272 from r-ryantm/auto-update/python311Packages.nsz

python311Packages.nsz: 4.3.0 -> 4.4.0
This commit is contained in:
Fabian Affolter 2023-08-15 09:57:07 +02:00 committed by GitHub
commit 521a91d255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,21 +1,33 @@
{ lib, buildPythonPackage, fetchFromGitHub, pycryptodome, enlighten, zstandard
{ lib
, buildPythonPackage
, fetchFromGitHub
, pycryptodome
, pythonOlder
, enlighten
, zstandard
, withGUI ? true
, kivy
}:
buildPythonPackage rec {
pname = "nsz";
version = "4.3.0";
version = "4.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "nicoboss";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-azmUJ3ofLdNwNeIQL/TuPYE98FZ8yXwbJx3wHCo8lw4=";
hash = "sha256-glK4CK7D33FfLqHLxVr4kkb887/A9tqxPwWpcXYZu/0=";
};
propagatedBuildInputs = [pycryptodome enlighten zstandard ]
++ lib.optional withGUI kivy;
propagatedBuildInputs = [
pycryptodome
enlighten
zstandard
] ++ lib.optional withGUI kivy;
# do not check, as nsz requires producation keys
# dumped from a Nintendo Switch.
@ -23,7 +35,8 @@ buildPythonPackage rec {
meta = with lib; {
homepage = "https://github.com/nicoboss/nsz";
description = "NSZ - Homebrew compatible NSP/XCI compressor/decompressor";
description = "Homebrew compatible NSP/XCI compressor/decompressor";
changelog = "https://github.com/nicoboss/nsz/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ eyjhb ];
};