1{ 2 stdenv, 3 lib, 4 buildPythonPackage, 5 fetchPypi, 6 nose, 7}: 8 9buildPythonPackage rec { 10 pname = "nose-exclude"; 11 version = "0.5.0"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "f78fa8b41eeb815f0486414f710f1eea0949e346cfb11d59ba6295ed69e84304"; 17 }; 18 19 propagatedBuildInputs = [ nose ]; 20 21 # "OSError: AF_UNIX path too long" for darwin 22 doCheck = !stdenv.isDarwin; 23 24 meta = { 25 license = lib.licenses.lgpl21; 26 description = "Exclude specific directories from nosetests runs"; 27 homepage = "https://github.com/kgrandis/nose-exclude"; 28 }; 29}