1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/curtsies/default.nix
2018-02-22 01:46:10 +01:00

26 lines
669 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, blessings, mock, nose, pyte, wcwidth, typing }:
buildPythonPackage rec {
pname = "curtsies";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "89c802ec051d01dec6fc983e9856a3706e4ea8265d2940b1f6d504a9e26ed3a9";
};
propagatedBuildInputs = [ blessings wcwidth typing ];
checkInputs = [ mock pyte nose ];
checkPhase = ''
nosetests tests
'';
meta = with stdenv.lib; {
description = "Curses-like terminal wrapper, with colored strings!";
homepage = https://pypi.python.org/pypi/curtsies;
license = licenses.mit;
maintainers = with maintainers; [ flokli ];
};
}