Loading pkgs/development/python-modules/cmd2/default.nix +4 −15 Original line number Diff line number Diff line Loading @@ -7,38 +7,27 @@ fetchPypi, glibcLocales, gnureadline, importlib-metadata, pyperclip, pytest-cov-stub, pytest-mock, pytestCheckHook, pythonOlder, setuptools-scm, typing-extensions, wcwidth, }: buildPythonPackage rec { pname = "cmd2"; version = "2.6.0"; version = "2.6.1"; pyproject = true; disabled = pythonOlder "3.6"; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; hash = "sha256-jP+rp4EFJkIcqzv6AQG0kH4SmP8rzYEZYVllourl2V8="; hash = "sha256-ZQpYkr8psjPT1ndbXjzIE2SM/w15E09weYH2a6rtn0I="; }; postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' # Fake the impure dependencies pbpaste and pbcopy mkdir bin echo '#!${stdenv.shell}' > bin/pbpaste echo '#!${stdenv.shell}' > bin/pbcopy chmod +x bin/{pbcopy,pbpaste} export PATH=$(realpath bin):$PATH ''; build-system = [ setuptools-scm ]; dependencies = [ Loading @@ -48,7 +37,7 @@ buildPythonPackage rec { wcwidth ] ++ lib.optional stdenv.hostPlatform.isDarwin gnureadline; doCheck = !stdenv.hostPlatform.isDarwin; doCheck = true; nativeCheckInputs = [ glibcLocales Loading Loading
pkgs/development/python-modules/cmd2/default.nix +4 −15 Original line number Diff line number Diff line Loading @@ -7,38 +7,27 @@ fetchPypi, glibcLocales, gnureadline, importlib-metadata, pyperclip, pytest-cov-stub, pytest-mock, pytestCheckHook, pythonOlder, setuptools-scm, typing-extensions, wcwidth, }: buildPythonPackage rec { pname = "cmd2"; version = "2.6.0"; version = "2.6.1"; pyproject = true; disabled = pythonOlder "3.6"; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; hash = "sha256-jP+rp4EFJkIcqzv6AQG0kH4SmP8rzYEZYVllourl2V8="; hash = "sha256-ZQpYkr8psjPT1ndbXjzIE2SM/w15E09weYH2a6rtn0I="; }; postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' # Fake the impure dependencies pbpaste and pbcopy mkdir bin echo '#!${stdenv.shell}' > bin/pbpaste echo '#!${stdenv.shell}' > bin/pbcopy chmod +x bin/{pbcopy,pbpaste} export PATH=$(realpath bin):$PATH ''; build-system = [ setuptools-scm ]; dependencies = [ Loading @@ -48,7 +37,7 @@ buildPythonPackage rec { wcwidth ] ++ lib.optional stdenv.hostPlatform.isDarwin gnureadline; doCheck = !stdenv.hostPlatform.isDarwin; doCheck = true; nativeCheckInputs = [ glibcLocales Loading