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