1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5, glibcLocales
6}:
7
8buildPythonPackage rec {
9 pname = "ipython_genutils";
10 version = "0.2.0";
11 name = "${pname}-${version}";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8";
16 };
17
18 checkInputs = [ nose glibcLocales ];
19
20 checkPhase = ''
21 LC_ALL="en_US.UTF-8" nosetests -v ipython_genutils/tests
22 '';
23
24 meta = {
25 description = "Vestigial utilities from IPython";
26 homepage = http://ipython.org/;
27 license = lib.licenses.bsd3;
28 maintainers = with lib.maintainers; [ fridh ];
29 };
30}