summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/spinners/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/spinners/default.nix')
-rw-r--r--pkgs/development/python-modules/spinners/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/spinners/default.nix b/pkgs/development/python-modules/spinners/default.nix
new file mode 100644
index 000000000000..1e71296fd176
--- /dev/null
+++ b/pkgs/development/python-modules/spinners/default.nix
@@ -0,0 +1,26 @@
+{ 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 ];
+ };
+}