depot/third_party/nixpkgs/pkgs/tools/misc/wlc/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

37 lines
669 B
Nix

{ lib
, python3
, fetchPypi
}:
with python3.pkgs;
buildPythonPackage rec {
pname = "wlc";
version = "1.13";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-MZ6avuMNT5HIIXW7ezukAJeO70o+SrgJnBnGjNy4tYE=";
};
propagatedBuildInputs = [
argcomplete
python-dateutil
requests
pyxdg
responses
twine
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "A Weblate commandline client using Weblate's REST API";
homepage = "https://github.com/WeblateOrg/wlc";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ paperdigits ];
mainProgram = "wlc";
};
}