nixpkgs/pkgs/development/python-modules/spinners/default.nix
2021-01-31 17:51:02 +00:00

26 lines
636 B
Nix

{ buildPythonPackage
, fetchPypi
, isPy27
, lib }:
buildPythonPackage rec {
pname = "spinners";
version = "0.0.24";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0zz2z6dpdjdq5z8m8w8dfi8by0ih1zrdq0caxm1anwhxg2saxdhy";
};
# Tests are not included in the PyPI distribution and the git repo does not have tagged releases
doCheck = false;
pythonImportsCheck = [ "spinners" ];
meta = with lib; {
description = "Spinners for the Terminal.";
homepage = "https://github.com/manrajgrover/py-spinners";
license = licenses.mit;
maintainers = with maintainers; [ urbas ];
};
}