mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-27 18:30:44 +08:00
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.
31 lines
589 B
Nix
31 lines
589 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, click
|
|
, six
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "click-spinner";
|
|
version = "0.1.10";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "h+rPnXKYlzol12Fe9X1Hgq6/kTpTK7pLKKN+Nm6XXa8=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
click
|
|
six
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Add support for showwing that command line app is active to Click";
|
|
homepage = "https://github.com/click-contrib/click-spinner";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
};
|
|
}
|