summary refs log tree commit diff
path: root/pkgs/development/python-modules/ipython_genutils/default.nix
blob: 0f3504780c2b631262f2f1960bc0c42f3db22843 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, buildPythonPackage
, fetchPypi
, nose
, glibcLocales
}:

buildPythonPackage rec {
  pname = "ipython_genutils";
  version = "0.2.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8";
  };

  checkInputs = [ nose glibcLocales ];

  checkPhase = ''
    LC_ALL="en_US.UTF-8" nosetests -v ipython_genutils/tests
  '';

  meta = {
    description = "Vestigial utilities from IPython";
    homepage = http://ipython.org/;
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ fridh ];
  };
}