depot/third_party/nixpkgs/pkgs/tools/misc/wlc/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

36 lines
657 B
Nix

{ lib
, python3
}:
with python3.pkgs;
buildPythonPackage rec {
pname = "wlc";
version = "1.12";
src = fetchPypi {
inherit pname version;
sha256 = "sha256:01c1qxq6dxvpn8rgpbqs4iw5daa0rmlgygb3xhhfj7xpqv1v84ir";
};
propagatedBuildInputs = [
argcomplete
python-dateutil
requests
pyxdg
pre-commit
responses
twine
];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "wlc is a Weblate commandline client using Weblate's REST API.";
homepage = "https://github.com/WeblateOrg/wlc";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ paperdigits ];
};
}