depot/third_party/nixpkgs/pkgs/development/python-modules/pyreadstat/default.nix
Default email d2947cfef0 Project import generated by Copybara.
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
2022-10-06 20:32:54 +02:00

34 lines
737 B
Nix

{ 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 ];
};
}