diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/traitlets/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/traitlets/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/traitlets/default.nix b/nixpkgs/pkgs/development/python-modules/traitlets/default.nix new file mode 100644 index 000000000000..0f18c6693869 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/traitlets/default.nix @@ -0,0 +1,38 @@ +{ lib +, buildPythonPackage +, fetchPypi +, glibcLocales +, pytest +, mock +, ipython_genutils +, decorator +, enum34 +, pythonOlder +, six +}: + +buildPythonPackage rec { + pname = "traitlets"; + version = "4.3.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "9c4bd2d267b7153df9152698efb1050a5d84982d3384a37b2c1f7723ba3e7835"; + }; + + checkInputs = [ glibcLocales pytest mock ]; + propagatedBuildInputs = [ ipython_genutils decorator six ] ++ lib.optional (pythonOlder "3.4") enum34; + + checkPhase = '' + LC_ALL="en_US.UTF-8" py.test + ''; + +# doCheck = false; + + meta = { + description = "Traitlets Python config system"; + homepage = http://ipython.org/; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ fridh ]; + }; +} \ No newline at end of file |