about summary refs log tree commit diff
path: root/pkgs/development/python-modules/spinners
diff options
context:
space:
mode:
authorMatej Urbas <matej.urbas@gmail.com>2021-01-23 04:27:02 +0000
committerMatej Urbas <matej.urbas@gmail.com>2021-01-31 17:51:02 +0000
commitea0edd8e8baebeee466be3281f1623a58f9516cc (patch)
tree7ef4433ddc2e27300146f6f3be9550f8cb61f443 /pkgs/development/python-modules/spinners
parenta354c8ff1831025f070fe2b2c649a026cfa35da1 (diff)
python3Packages.spinners: init at 0.0.24
Diffstat (limited to 'pkgs/development/python-modules/spinners')
-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 0000000000000..1e71296fd1762
--- /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 ];
+  };
+}