mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
Merge pull request #249272 from r-ryantm/auto-update/python311Packages.nsz
python311Packages.nsz: 4.3.0 -> 4.4.0
This commit is contained in:
commit
521a91d255
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user