blob: c34bb09b794c3d325aabde496cf92a2e00b93581 (
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
30
31
32
33
34
35
|
{ lib
, buildPythonPackage
, fetchPypi
, glibcLocales
, pytest
, mock
, ipython_genutils
, decorator
, enum34
}:
buildPythonPackage rec {
pname = "traitlets";
version = "4.3.2";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "9c4bd2d267b7153df9152698efb1050a5d84982d3384a37b2c1f7723ba3e7835";
};
checkInputs = [ glibcLocales pytest mock ];
propagatedBuildInputs = [ ipython_genutils decorator enum34 ];
checkPhase = ''
LC_ALL="en_US.UTF-8" py.test $out
'';
meta = {
description = "Traitlets Python config system";
homepage = http://ipython.org/;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}
|