1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, numpy 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "typish"; 10 version = "1.9.3"; 11 12 src = fetchFromGitHub { 13 owner = "ramonhagenaars"; 14 repo = "typish"; 15 rev = "7875850f55e2df8a9e2426e2d484ab618e347c7f"; 16 sha256 = "0mc5hw92f15mwd92rb2q9isc4wi7xq76449w7ph5bskcspas0wrf"; 17 }; 18 19 checkInputs = [ 20 numpy 21 pytestCheckHook 22 ]; 23 24 disabledTestPaths = [ 25 # Requires a very old version of nptyping 26 # which has a circular dependency on typish 27 "tests/functions/test_instance_of.py" 28 ]; 29 30 pythonImportsCheck = [ 31 "typish" 32 ]; 33 34 meta = with lib; { 35 description = "Python module for checking types of objects"; 36 homepage = "https://github.com/ramonhagenaars/typish"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ fmoda3 ]; 39 }; 40}