python3Packages.zfec: init at 1.5.5

This commit is contained in:
Pavol Rusnak 2021-07-17 14:30:08 +02:00
parent c8e3c1fa35
commit 43685a7aec
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
2 changed files with 8 additions and 3 deletions

View file

@ -1,8 +1,9 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptoolsDarcs
, pyutil
, setuptoolsTrial
, twisted
}:
buildPythonPackage rec {
@ -14,16 +15,17 @@ buildPythonPackage rec {
sha256 = "6033b2f3cc3edacf3f7eeed5f258c1ebf8a1d7e5e35b623db352512ce564e5ca";
};
buildInputs = [ setuptoolsDarcs ];
propagatedBuildInputs = [ pyutil ];
checkInputs = [ setuptoolsTrial twisted ];
# argparse is in the stdlib but zfec doesn't know that.
postPatch = ''
sed -i -e '/argparse/d' setup.py
'';
meta = with lib; {
homepage = "http://allmydata.org/trac/zfec";
homepage = "https://github.com/tahoe-lafs/zfec";
description = "Zfec, a fast erasure codec which can be used with the command-line, C, Python, or Haskell";
longDescription = ''
Fast, portable, programmable erasure coding a.k.a. "forward
@ -34,6 +36,7 @@ buildPythonPackage rec {
and Haskell API.
'';
license = licenses.gpl2Plus;
maintainers = with maintainers; [ prusnak ];
};
}

View file

@ -9470,6 +9470,8 @@ in {
zetup = callPackage ../development/python-modules/zetup { };
zfec = callPackage ../development/python-modules/zfec { };
zha-quirks = callPackage ../development/python-modules/zha-quirks { };
zict = callPackage ../development/python-modules/zict { };