python312Packages.zfec: refactor
This commit is contained in:
parent
9002337a97
commit
37c1398c43
@ -8,13 +8,13 @@
|
|||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "zulip-term";
|
pname = "zulip-term";
|
||||||
version = "0.7.0";
|
version = "0.7.0";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
# no tests on PyPI
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zulip";
|
owner = "zulip";
|
||||||
repo = "zulip-terminal";
|
repo = "zulip-terminal";
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-ZouUU4p1FSGMxPuzDo5P971R+rDXpBdJn2MqvkJO+Fw=";
|
hash = "sha256-ZouUU4p1FSGMxPuzDo5P971R+rDXpBdJn2MqvkJO+Fw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -50,6 +50,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Zulip's official terminal client";
|
description = "Zulip's official terminal client";
|
||||||
homepage = "https://github.com/zulip/zulip-terminal";
|
homepage = "https://github.com/zulip/zulip-terminal";
|
||||||
|
changelog = "https://github.com/zulip/zulip-terminal/releases/tag/0.7.0";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ dotlambda ];
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
};
|
};
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptools
|
, hypothesis
|
||||||
, pyutil
|
, pyutil
|
||||||
|
, setuptools
|
||||||
, twisted
|
, twisted
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -20,17 +21,26 @@ buildPythonPackage rec {
|
|||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ pyutil ];
|
propagatedBuildInputs = [
|
||||||
|
pyutil
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [ twisted ];
|
nativeCheckInputs = [
|
||||||
|
hypothesis
|
||||||
|
twisted
|
||||||
|
];
|
||||||
|
|
||||||
checkPhase = "trial zfec";
|
checkPhase = ''
|
||||||
|
trial zfec
|
||||||
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "zfec" ];
|
pythonImportsCheck = [
|
||||||
|
"zfec"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/tahoe-lafs/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";
|
description = "Fast erasure codec which can be used with the command-line, C, Python, or Haskell";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Fast, portable, programmable erasure coding a.k.a. "forward
|
Fast, portable, programmable erasure coding a.k.a. "forward
|
||||||
error correction": the generation of redundant blocks of
|
error correction": the generation of redundant blocks of
|
||||||
|
Loading…
Reference in New Issue
Block a user