mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
36 lines
640 B
Nix
36 lines
640 B
Nix
{ lib
|
|
, python3
|
|
}:
|
|
|
|
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 = "wlc is a Weblate commandline client using Weblate's REST API.";
|
|
homepage = "https://github.com/WeblateOrg/wlc";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ paperdigits ];
|
|
};
|
|
}
|