summaryrefslogtreecommitdiff
path: root/pkgs/tools/misc/wlc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/wlc/default.nix')
-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 000000000000..874e31ca6ef1
--- /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 ];
+ };
+}