nixpkgs/pkgs/tools/misc/wlc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
652 B
Nix
Raw Normal View History

2021-05-19 04:42:40 +02:00
{ lib
, python3
2023-05-25 20:37:59 +02:00
, fetchPypi
2021-05-19 04:42:40 +02:00
}:
with python3.pkgs;
buildPythonPackage rec {
pname = "wlc";
2022-03-25 03:05:00 +01:00
version = "1.13";
2021-05-19 04:42:40 +02:00
src = fetchPypi {
inherit pname version;
2022-03-25 03:05:00 +01:00
sha256 = "sha256-MZ6avuMNT5HIIXW7ezukAJeO70o+SrgJnBnGjNy4tYE=";
2021-05-19 04:42:40 +02:00
};
propagatedBuildInputs = [
argcomplete
python-dateutil
requests
pyxdg
responses
twine
];
nativeCheckInputs = [
2021-05-19 04:42:40 +02:00
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 ];
};
}