nixpkgs/pkgs/development/python-modules/spinners/default.nix

27 lines
636 B
Nix
Raw Normal View History

{ 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 ];
};
}