Merge master into staging
This commit is contained in:
@@ -1,17 +1,28 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, attrs, click }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
|
||||
, attrs, click, toml, appdirs
|
||||
, glibcLocales, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "black";
|
||||
version = "18.4a0";
|
||||
version = "18.6b4";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "04dffr4wmzs4vf2xj0cxp03hv04x0kk06qyzx6jjrp1mq0z3n2rr";
|
||||
sha256 = "0i4sfqgz6w15vd50kbhi7g7rifgqlf8yfr8y78rypd56q64qn592";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ attrs click ];
|
||||
checkInputs = [ pytest glibcLocales ];
|
||||
|
||||
checkPhase = ''
|
||||
# no idea, why those fail.
|
||||
LC_ALL="en_US.UTF-8" HOME="$NIX_BUILD_TOP" \
|
||||
pytest \
|
||||
-k "not test_cache_multiple_files and not test_failed_formatting_does_not_get_cached"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ attrs appdirs click toml ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "The uncompromising Python code formatter";
|
||||
|
||||
@@ -10,7 +10,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
checkPhase = "python -m unittest discover -s test";
|
||||
doInstallCheck = !hostPlatform.isDarwin; # broken on darwin
|
||||
doCheck = !hostPlatform.isDarwin; # broken on darwin
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pyserial/pyserial";
|
||||
|
||||
41
pkgs/development/python-modules/wxPython/4.0.nix
Normal file
41
pkgs/development/python-modules/wxPython/4.0.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pkgconfig
|
||||
, gtk3
|
||||
, libjpeg
|
||||
, libtiff
|
||||
, SDL
|
||||
, gst-plugins-base
|
||||
, libnotify
|
||||
, freeglut
|
||||
, xorg
|
||||
, which
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "wxPython";
|
||||
version = "4.0.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8d0dfc0146c24749ce00d575e35cc2826372e809d5bc4a57bde6c89031b59e75";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3 libjpeg libtiff SDL gst-plugins-base libnotify freeglut xorg.libSM
|
||||
which
|
||||
];
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Cross platform GUI toolkit for Python, Phoenix version";
|
||||
homepage = http://wxpython.org/;
|
||||
license = lib.licenses.wxWindows;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user