Merge branch 'nsz'

This commit is contained in:
Simon Bruder 2021-07-21 20:36:42 +02:00
commit 8471d00fb4
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
4 changed files with 91 additions and 0 deletions

View file

@ -20,6 +20,10 @@
packageOverrides = final: prev: packageOverrides = final: prev:
{ {
deezer-py = callPythonPackage ./python-modules/deezer-py { }; deezer-py = callPythonPackage ./python-modules/deezer-py { };
enlighten = callPythonPackage ./python-modules/enlighten { };
prefixed = callPythonPackage ./python-modules/prefixed { };
}; };
}; };
python3Packages = prev.recurseIntoAttrs final.python3.pkgs; python3Packages = prev.recurseIntoAttrs final.python3.pkgs;
@ -34,6 +38,8 @@
pitchcontrol = callPackage ./mpv-scripts/pitchcontrol { }; pitchcontrol = callPackage ./mpv-scripts/pitchcontrol { };
}; };
nsz = callPythonPackage ./nsz { };
oha = callPackage ./oha { }; oha = callPackage ./oha { };
snownews = callPackage ./snownews { }; snownews = callPackage ./snownews { };
@ -75,6 +81,7 @@
cyanrip cyanrip
deemix deemix
face_morpher face_morpher
nsz
oha oha
snownews snownews
textidote textidote

33
nsz/default.nix Normal file
View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, pycryptodome
, zstandard
, enlighten
}:
buildPythonPackage rec {
pname = "nsz";
version = "4.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1gckszvkjklrslidpfidbzcigpwwj4s0chrnrg16wvh3r93aiaci";
};
propagatedBuildInputs = [
pycryptodome
zstandard
enlighten
];
doCheck = false; # requires keys
meta = with lib; {
description = "A homebrew compatible NSP/XCI compressor/decompressor";
homepage = "https://github.com/nicoboss/nsz";
license = licenses.mit;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}

View file

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, blessed
, prefixed
}:
buildPythonPackage rec {
pname = "enlighten";
version = "1.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "1159iqivln12sfbf0bc2iyaf8ic7nj1694nnsp7fsjinhrjr349k";
};
propagatedBuildInputs = [
blessed
prefixed
];
meta = with lib; {
description = "A progress Bar for Python Console Apps";
homepage = "https://python-enlighten.readthedocs.io";
license = licenses.mpl20;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}

View file

@ -0,0 +1,22 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "prefixed";
version = "0.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "0af0sanqdw7ymy9rxhw7cd0q8yqcjgd4f23n9gfld0zslmxjfj6a";
};
meta = with lib; {
description = "A prefixed alternative numeric library";
homepage = "https://github.com/Rockhopper-Technologies/prefixed";
license = licenses.mpl20;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}