2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchPypi
|
2021-05-20 23:08:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
with python3.pkgs;
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "wlc";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.14";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-QMF41B6a2jMSdhjeFoRQq+K1YJAEz96msHLzX6wVqSc=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
argcomplete
|
|
|
|
python-dateutil
|
|
|
|
requests
|
|
|
|
pyxdg
|
|
|
|
responses
|
|
|
|
twine
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-05-20 23:08:51 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Weblate commandline client using Weblate's REST API";
|
2021-05-20 23:08:51 +00:00
|
|
|
homepage = "https://github.com/WeblateOrg/wlc";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ paperdigits ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "wlc";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
}
|