···99, regex
1010, tabview
1111, python
1212+, unittestCheckHook
1213}:
13141415buildPythonPackage rec {
···3334 tabview
3435 ];
35363737+ checkInputs = [ unittestCheckHook ];
3838+3639 pythonImportsCheck = [
3740 "clevercsv"
3841 "clevercsv.cparser"
3942 ];
40434141- checkPhase = ''
4444+ preCheck = ''
4245 # by linking the installed version the tests also have access to compiled native libraries
4346 rm -r clevercsv
4447 ln -s $out/${python.sitePackages}/clevercsv/ clevercsv
4545- # their ci only runs unit tests, there are also integration and fuzzing tests
4646- ${python.interpreter} -m unittest discover -v -f -s ./tests/test_unit
4748 '';
4949+5050+ # their ci only runs unit tests, there are also integration and fuzzing tests
5151+ unittestFlagsArray = [ "-v" "-f" "-s" "./tests/test_unit" ];
48524953 meta = with lib; {
5054 description = "CleverCSV is a Python package for handling messy CSV files";
5155 longDescription = ''
5252- CleverCSV is a Python package for handling messy CSV files. It provides
5353- a drop-in replacement for the builtin CSV module with improved dialect
5454- detection, and comes with a handy command line application for working
5555- with CSV files.
5656+ CleverCSV is a Python package for handling messy CSV files. It provides
5757+ a drop-in replacement for the builtin CSV module with improved dialect
5858+ detection, and comes with a handy command line application for working
5959+ with CSV files.
5660 '';
5761 homepage = "https://github.com/alan-turing-institute/CleverCSV";
5862 changelog = "https://github.com/alan-turing-institute/CleverCSV/blob/master/CHANGELOG.md";