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

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

36 lines
642 B
Nix
Raw Normal View History

2021-05-19 02:42:40 +00:00
{ lib
, python3
}:
with python3.pkgs;
buildPythonPackage rec {
pname = "wlc";
2021-08-25 03:43:02 +00:00
version = "1.12";
2021-05-19 02:42:40 +00:00
src = fetchPypi {
inherit pname version;
2021-08-25 03:43:02 +00:00
sha256 = "sha256:01c1qxq6dxvpn8rgpbqs4iw5daa0rmlgygb3xhhfj7xpqv1v84ir";
2021-05-19 02:42:40 +00:00
};
propagatedBuildInputs = [
argcomplete
python-dateutil
requests
pyxdg
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 ];
};
}