Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 785 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, glibcLocales 5, pytest 6, mock 7, ipython_genutils 8, decorator 9, pythonOlder 10, six 11, hatchling 12}: 13 14buildPythonPackage rec { 15 pname = "traitlets"; 16 version = "5.9.0"; 17 format = "pyproject"; 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-9s3iGpxoz3Vq8CA19y1acjv2B+hi574z7OUFq/Sjutk="; 23 }; 24 25 nativeBuildInputs = [ hatchling ]; 26 nativeCheckInputs = [ glibcLocales pytest mock ]; 27 propagatedBuildInputs = [ ipython_genutils decorator six ]; 28 29 checkPhase = '' 30 LC_ALL="en_US.UTF-8" py.test 31 ''; 32 33 meta = { 34 description = "Traitlets Python config system"; 35 homepage = "https://ipython.org/"; 36 license = lib.licenses.bsd3; 37 maintainers = with lib.maintainers; [ fridh ]; 38 }; 39}