about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorJohannes Frankenau <johannes@frankenau.net>2018-03-09 10:20:32 +0100
committerJohannes Frankenau <johannes@frankenau.net>2018-07-14 20:42:00 +0200
commit8ce4aa2e4254742a13720c0cf8d0a6a2a0ed20c6 (patch)
treecf7565fc189615a88ef40fc69e161a4a8676488e /pkgs/development/python-modules
parent2137f5b7c086e1eb0dba9d318bb9b44dbe043aba (diff)
downloadnixlib-8ce4aa2e4254742a13720c0cf8d0a6a2a0ed20c6.tar
nixlib-8ce4aa2e4254742a13720c0cf8d0a6a2a0ed20c6.tar.gz
nixlib-8ce4aa2e4254742a13720c0cf8d0a6a2a0ed20c6.tar.bz2
nixlib-8ce4aa2e4254742a13720c0cf8d0a6a2a0ed20c6.tar.lz
nixlib-8ce4aa2e4254742a13720c0cf8d0a6a2a0ed20c6.tar.xz
nixlib-8ce4aa2e4254742a13720c0cf8d0a6a2a0ed20c6.tar.zst
nixlib-8ce4aa2e4254742a13720c0cf8d0a6a2a0ed20c6.zip
pythonPackages.pyprind: init at 2.11.2
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/pyprind/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyprind/default.nix b/pkgs/development/python-modules/pyprind/default.nix
new file mode 100644
index 000000000000..de1b17be739d
--- /dev/null
+++ b/pkgs/development/python-modules/pyprind/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchPypi, buildPythonPackage
+, psutil
+, pytest }:
+
+buildPythonPackage rec {
+  pname = "PyPrind";
+  version = "2.11.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0xg6m5hr33h9bdlrr42kc58jm2m87a9zsagy7n2m4n407d2snv64";
+  };
+
+  buildInputs = [ psutil ];
+
+  checkInputs = [ pytest ];
+
+  checkPhase = ''
+    py.test tests
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Python Progress Bar and Percent Indicator Utility";
+    homepage = https://github.com/rasbt/pyprind;
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ jfrankenau ];
+  };
+}