about summary refs log tree commit diff
path: root/pkgs/tools/misc/wlc/default.nix
blob: dd7c5f7942f82295fdb5e414d48a5116e21fa9ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ 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 ];
  };
}