readstat, python3Packages.pyreadstat: fix build on Darwin
This commit is contained in:
parent
71c5816834
commit
5e976f8f6d
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "readstat";
|
||||
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
|
||||
buildInputs = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ libiconv ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/WizardMac/ReadStat";
|
||||
description = "Command-line tool (+ C library) for converting SAS, Stata, and SPSS files";
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, fetchFromGitHub
|
||||
, libiconv
|
||||
, pandas
|
||||
, python
|
||||
, pythonOlder
|
||||
@ -29,6 +31,8 @@ buildPythonPackage rec {
|
||||
|
||||
buildInputs = [
|
||||
zlib
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -10744,7 +10744,9 @@ with pkgs;
|
||||
|
||||
read-edid = callPackage ../os-specific/linux/read-edid { };
|
||||
|
||||
readstat = callPackage ../applications/science/math/readstat { };
|
||||
readstat = callPackage ../applications/science/math/readstat {
|
||||
inherit (pkgs.darwin) libiconv;
|
||||
};
|
||||
|
||||
redir = callPackage ../tools/networking/redir { };
|
||||
|
||||
|
@ -8493,7 +8493,9 @@ in {
|
||||
|
||||
pyramid_multiauth = callPackage ../development/python-modules/pyramid_multiauth { };
|
||||
|
||||
pyreadstat = callPackage ../development/python-modules/pyreadstat { };
|
||||
pyreadstat = callPackage ../development/python-modules/pyreadstat {
|
||||
inherit (pkgs.darwin) libiconv;
|
||||
};
|
||||
|
||||
pyrealsense2 = toPythonModule (pkgs.librealsense.override {
|
||||
enablePython = true;
|
||||
|
Loading…
Reference in New Issue
Block a user