2021-05-19 02:42:40 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
2023-05-25 18:37:59 +00:00
|
|
|
, fetchPypi
|
2021-05-19 02:42:40 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
with python3.pkgs;
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "wlc";
|
2022-03-25 02:05:00 +00:00
|
|
|
version = "1.13";
|
2021-05-19 02:42:40 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-25 02:05:00 +00:00
|
|
|
sha256 = "sha256-MZ6avuMNT5HIIXW7ezukAJeO70o+SrgJnBnGjNy4tYE=";
|
2021-05-19 02:42:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
argcomplete
|
|
|
|
python-dateutil
|
|
|
|
requests
|
|
|
|
pyxdg
|
|
|
|
responses
|
|
|
|
twine
|
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2021-05-19 02:42:40 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-01-08 05:29:45 +00:00
|
|
|
description = "A Weblate commandline client using Weblate's REST API";
|
2021-05-19 02:42:40 +00:00
|
|
|
homepage = "https://github.com/WeblateOrg/wlc";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ paperdigits ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "wlc";
|
2021-05-19 02:42:40 +00:00
|
|
|
};
|
|
|
|
}
|