summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorMica Semrick <mica@silentumbrella.com>2021-05-18 19:42:40 -0700
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-19 21:38:52 -0700
commitb34ab9683cee9f51dfe2ad97bc5632d2e3683bd4 (patch)
treebd561c987d82b2b91564039c39f86aa6e60bf30e /pkgs/tools
parent259e3fc46f986ff8502879d8a7408f82c9a19eb2 (diff)
wlc: init at 1.11
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/wlc/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/tools/misc/wlc/default.nix b/pkgs/tools/misc/wlc/default.nix
new file mode 100644
index 0000000000000..874e31ca6ef18
--- /dev/null
+++ b/pkgs/tools/misc/wlc/default.nix
@@ -0,0 +1,36 @@
+{ lib
+, python3
+}:
+
+with python3.pkgs;
+
+buildPythonPackage rec {
+  pname = "wlc";
+  version = "1.11";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "sha256:0ysx250v2qycy1m3jj0wxmyf2f5n8fxf6br69vcbyq2cnqw609nx";
+  };
+
+  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 ];
+  };
+}