Skip to content

Commit

Permalink
py7zr: init at 0.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteSudoer committed Jul 3, 2024
1 parent ff09010 commit 1ef3d6f
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/development/python-modules/inflate64/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildPythonPackage rec {
pname = "inflate64";
version = "1.0.0";

format = "pyproject";
pyproject = true;

src = fetchPypi {
inherit pname version;
Expand All @@ -24,11 +24,11 @@ buildPythonPackage rec {

pythonImportsCheck = [ "inflate64" ];

meta = with lib; {
meta = {
homepage = "https://codeberg.org/miurahr/inflate64";
description = "Compress and decompress with Enhanced Deflate compression algorithm";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ByteSudoer ];
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ ByteSudoer ];
};

}
56 changes: 56 additions & 0 deletions pkgs/development/python-modules/py7zr/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{ lib
, buildPythonPackage
, fetchPypi

, setuptools
, setuptools-scm


, brotli
, inflate64
, multivolumefile
, psutil
, pybcj
, pycryptodomex
, pyppmd
, pyzstd
, texttable

}:
buildPythonPackage rec {
pname = "py7zr";
version = "0.21.1";

format = "pyproject";

src = fetchPypi {
inherit pname version;
hash = "sha256-3t6O2LezKzWGrEdto6SCtp3UMyKUIL8PYsSVQEtyx5k=";
};

build-system = [
setuptools
setuptools-scm
];

dependencies = [
brotli
inflate64
multivolumefile
psutil
pybcj
pycryptodomex
pyppmd
pyzstd
texttable
];

pythonImportsCheck = [ "py7zr" ];

meta = with lib; {
homepage = "https://github.com/miurahr/py7zr";
description = "7zip in python3 with ZStandard, PPMd, LZMA2, LZMA1, Delta, BCJ, BZip2";
license = licenses.gpl2Only;
maintainers = with maintainers; [ ByteSudoer ];
};
}
12 changes: 12 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5849,6 +5849,8 @@ self: super: with self; {

infinity = callPackage ../development/python-modules/infinity { };

inflate64 = callPackage ../development/python-modules/inflate64 { };

inflect = callPackage ../development/python-modules/inflect { };

inflection = callPackage ../development/python-modules/inflection { };
Expand Down Expand Up @@ -7901,6 +7903,8 @@ self: super: with self; {

multitasking = callPackage ../development/python-modules/multitasking { };

multivolumefile = callPackage ../development/python-modules/multivolumefile { };

munch = callPackage ../development/python-modules/munch { };

mung = callPackage ../development/python-modules/mung { };
Expand Down Expand Up @@ -10037,6 +10041,8 @@ self: super: with self; {

py65 = callPackage ../development/python-modules/py65 { };

py7zr = callPackage ../development/python-modules/py7zr { };

pyaehw4a1 = callPackage ../development/python-modules/pyaehw4a1 { };

pyatag = callPackage ../development/python-modules/pyatag { };
Expand All @@ -10045,6 +10051,8 @@ self: super: with self; {

pyatome = callPackage ../development/python-modules/pyatome { };

pybcj = callPackage ../development/python-modules/pybcj { };

pycketcasts = callPackage ../development/python-modules/pycketcasts { };

pycomm3 = callPackage ../development/python-modules/pycomm3 { };
Expand Down Expand Up @@ -10146,6 +10154,8 @@ self: super: with self; {

pypoolstation = callPackage ../development/python-modules/pypoolstation { };

pyppmd = callPackage ../development/python-modules/pyppmd { };

pyrdfa3 = callPackage ../development/python-modules/pyrdfa3 { };

pyre-extensions = callPackage ../development/python-modules/pyre-extensions { };
Expand Down Expand Up @@ -10288,6 +10298,8 @@ self: super: with self; {

pyzipper = callPackage ../development/python-modules/pyzipper { };

pyzstd = callPackage ../development/python-modules/pyzstd { };

pkutils = callPackage ../development/python-modules/pkutils { };

plac = callPackage ../development/python-modules/plac { };
Expand Down

0 comments on commit 1ef3d6f

Please sign in to comment.