14 buildPythonPackage rec {
17 format = "setuptools";
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
24 rev = "refs/tags/v${version}";
25 hash = "sha256-+wa8HxQyEwdGF2LWJXTZ/gOFpC8P9+k5p4Lj3ePP2n8=";
34 ] ++ lib.optionals stdenv.isDarwin [
38 propagatedBuildInputs = [
43 pythonImportsCheck = [
48 export HOME=$(mktemp -d);
54 ${python.interpreter} tests/test_basic.py
60 description = "Module to read SAS, SPSS and Stata files into pandas data frames";
61 homepage = "https://github.com/Roche/pyreadstat";
62 changelog = "https://github.com/Roche/pyreadstat/blob/v${version}/change_log.md";
63 license = licenses.asl20;
64 maintainers = with maintainers; [ swflint ];