diff options
Diffstat (limited to 'pkgs/development/python-modules/curtsies/default.nix')
-rw-r--r-- | pkgs/development/python-modules/curtsies/default.nix | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/pkgs/development/python-modules/curtsies/default.nix b/pkgs/development/python-modules/curtsies/default.nix index 2dd039f00ee2..7be20c559019 100644 --- a/pkgs/development/python-modules/curtsies/default.nix +++ b/pkgs/development/python-modules/curtsies/default.nix @@ -1,14 +1,15 @@ -{ lib -, stdenv -, backports-cached-property -, blessed -, buildPythonPackage -, cwcwidth -, fetchPypi -, pyte -, pytestCheckHook -, pythonOlder -, setuptools +{ + lib, + stdenv, + backports-cached-property, + blessed, + buildPythonPackage, + cwcwidth, + fetchPypi, + pyte, + pytestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -23,16 +24,12 @@ buildPythonPackage rec { hash = "sha256-br4zIVvXyShRpQYEnHIMykz1wZLBZlwdepigTEcCdg4="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ blessed cwcwidth - ] ++ lib.optionals (pythonOlder "3.8") [ - backports-cached-property - ]; + ] ++ lib.optionals (pythonOlder "3.8") [ backports-cached-property ]; nativeCheckInputs = [ pyte @@ -45,6 +42,6 @@ buildPythonPackage rec { changelog = "https://github.com/bpython/curtsies/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ flokli ]; - broken = stdenv.isDarwin; + broken = stdenv.hostPlatform.isDarwin; }; } |