Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / traitlets / 4.nix
blobbffd7c790beabe7bfc04f52de1f09360e4b612ee
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , glibcLocales
5 , pytest
6 , mock
7 , ipython_genutils
8 , decorator
9 , enum34
10 , pythonOlder
11 , six
14 buildPythonPackage rec {
15   pname = "traitlets";
16   version = "4.3.3";
18   src = fetchPypi {
19     inherit pname version;
20     sha256 = "d023ee369ddd2763310e4c3eae1ff649689440d4ae59d7485eb4cfbbe3e359f7";
21   };
23   checkInputs = [ glibcLocales pytest mock ];
24   propagatedBuildInputs = [ ipython_genutils decorator six ] ++ lib.optional (pythonOlder "3.4") enum34;
26   checkPhase = ''
27     LC_ALL="en_US.UTF-8" py.test
28   '';
30   meta = {
31     description = "Traitlets Python config system";
32     homepage = "http://ipython.org/";
33     license = lib.licenses.bsd3;
34     maintainers = with lib.maintainers; [ ];
35   };