python310Packages.traitlets: cleanup dependencies, change homepage to be more usefull

This commit is contained in:
Sandro Jäckel
2023-07-28 12:15:32 +02:00
committed by Martin Weinelt
parent c34f0668ef
commit e1007b0935
@@ -1,13 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
, glibcLocales
, pytest
, mock
, ipython_genutils
, decorator
, pytestCheckHook
, pythonOlder
, six
, hatchling
}:
@@ -23,16 +18,12 @@ buildPythonPackage rec {
};
nativeBuildInputs = [ hatchling ];
nativeCheckInputs = [ glibcLocales pytest mock ];
propagatedBuildInputs = [ ipython_genutils decorator six ];
checkPhase = ''
LC_ALL="en_US.UTF-8" py.test
'';
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Traitlets Python config system";
homepage = "https://ipython.org/";
homepage = "https://github.com/ipython/traitlets";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};