pyreadstat: init at 1.1.9

This commit is contained in:
Samuel W. Flint 2022-09-21 12:36:09 -05:00
parent 35d5dd7989
commit f5355f8a38
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib, buildPythonPackage, fetchFromGitHub, cython, zlib, pandas, readstat }:
buildPythonPackage rec {
pname = "pyreadstat";
version = "1.1.9";
src = fetchFromGitHub {
owner = "Roche";
repo = "pyreadstat";
rev = "v${version}";
sha256 = "16aa16ybh3ikmlxsg8zm19x9k6r4gpd0sxqagv318w76jjyw1nrs";
};
nativeBuildInputs = [
cython
];
buildInputs = [
zlib
];
propagatedBuildInputs = [
readstat
pandas
];
meta = {
homepage = "https://github.com/Roche/pyreadstat";
description = "Python package to read SAS, SPSS and Stata files into pandas data frames using the readstat C library";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ swflint ];
};
}

View file

@ -9469,6 +9469,8 @@ in {
readme_renderer = callPackage ../development/python-modules/readme_renderer { };
readstats = callPackage ../development/python-modules/pyreadstat { };
readthedocs-sphinx-ext = callPackage ../development/python-modules/readthedocs-sphinx-ext { };
rebulk = callPackage ../development/python-modules/rebulk { };