nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 34 lines 642 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, numpy 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "traits"; 11 version = "6.3.2"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "4520ef4a675181f38be4a5bab1b1d5472691597fe2cfe4faf91023e89407e2c6"; 19 }; 20 21 # Circular dependency 22 doCheck = false; 23 24 pythonImportsCheck = [ 25 "traits" 26 ]; 27 28 meta = with lib; { 29 description = "Explicitly typed attributes for Python"; 30 homepage = "https://pypi.python.org/pypi/traits"; 31 license = licenses.bsd3; 32 maintainers = with maintainers; [ ]; 33 }; 34}