mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
37 lines
665 B
Nix
37 lines
665 B
Nix
{ lib
|
|
, python3
|
|
, fetchPypi
|
|
}:
|
|
|
|
with python3.pkgs;
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wlc";
|
|
version = "1.15";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-0T8cMq5Mrv/Ygo6BfYho3sjFuu8dYZyUMtJc5gabuG4=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
argcomplete
|
|
python-dateutil
|
|
requests
|
|
pyxdg
|
|
responses
|
|
twine
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Weblate commandline client using Weblate's REST API";
|
|
homepage = "https://github.com/WeblateOrg/wlc";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ paperdigits ];
|
|
mainProgram = "wlc";
|
|
};
|
|
}
|