nixpkgs/pkgs/tools/misc/wlc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
669 B
Nix
Raw Normal View History

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
];
nativeCheckInputs = [
2021-05-19 02:42:40 +00:00
pytestCheckHook
];
meta = with lib; {
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
};
}