Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 31 lines 583 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6}: 7 8buildPythonPackage rec { 9 pname = "traits"; 10 version = "6.4.3"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-qbv9ngwIt94H6G72TmnLlqKcIQWkO/gyzYsWL6HiL0Q="; 18 }; 19 20 # Circular dependency 21 doCheck = false; 22 23 pythonImportsCheck = [ "traits" ]; 24 25 meta = with lib; { 26 description = "Explicitly typed attributes for Python"; 27 homepage = "https://pypi.python.org/pypi/traits"; 28 license = licenses.bsd3; 29 maintainers = [ ]; 30 }; 31}