git.iko.soy/typeable/nixpkgs
on master help sign in
curtsies: init at 0.2.11
commit11bba268fe886968617c20c2c394139e7c92b807 authorFlorian Klink <flokli@flokli.de> dateSun 29 Oct 2017, 11:21 (9 years ago) parent208e5c9
2 files changed+29
pkgs/development/python-modules/curtsies/default.nix+27 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/curtsies/default.nixnew file+27
@@ -0,0 +1,27 @@
1+{ stdenv, buildPythonPackage, fetchPypi, blessings, mock, nose, pyte, pytest, wcwidth }:
2+
3+buildPythonPackage rec {
4+ pname = "curtsies";
5+ version = "0.2.11";
6+ name = "${pname}-${version}";
7+
8+ src = fetchPypi {
9+ inherit pname version;
10+ sha256 = "1vljmw3sy6lrqahhpyg4gk13mzcx3mwhvg8s41698ms3cpgkjipc";
11+ };
12+
13+ propagatedBuildInputs = [ blessings wcwidth pyte ];
14+
15+ checkInputs = [ nose mock pytest ];
16+
17+ checkPhase = ''
18+ py.test
19+ '';
20+
21+ meta = with stdenv.lib; {
22+ description = "Curses-like terminal wrapper, with colored strings!";
23+ homepage = https://pypi.python.org/pypi/curtsies;
24+ license = licenses.mit;
25+ maintainers = with maintainers; [ flokli ];
26+ };
27+}
pkgs/top-level/python-packages.nix+2
@@ -3367,6 +3367,8 @@ in {
33673367 doCheck = false;
33683368 };
33693369
3370+ curtsies = callPackage ../development/python-modules/curtsies { };
3371+
33703372 oslo-vmware = buildPythonPackage rec {
33713373 name = "oslo.vmware-${version}";
33723374 version = "1.22.0";