diff options
Diffstat (limited to 'pkgs/development/python-modules/css-inline/default.nix')
-rw-r--r-- | pkgs/development/python-modules/css-inline/default.nix | 55 |
1 files changed, 28 insertions, 27 deletions
diff --git a/pkgs/development/python-modules/css-inline/default.nix b/pkgs/development/python-modules/css-inline/default.nix index e3a35ec65f722..b9faf71842b69 100644 --- a/pkgs/development/python-modules/css-inline/default.nix +++ b/pkgs/development/python-modules/css-inline/default.nix @@ -1,31 +1,32 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchFromGitHub +{ + lib, + stdenv, + buildPythonPackage, + fetchFromGitHub, -# build-system -, rustPlatform + # build-system + rustPlatform, -# native darwin dependencies -, libiconv -, Security -, SystemConfiguration + # native darwin dependencies + libiconv, + Security, + SystemConfiguration, -# tests -, pytestCheckHook -, hypothesis + # tests + pytestCheckHook, + hypothesis, }: buildPythonPackage rec { pname = "css-inline"; - version = "0.14.0"; + version = "0.14.1"; pyproject = true; src = fetchFromGitHub { owner = "Stranger6667"; repo = "css-inline"; rev = "python-v${version}"; - hash = "sha256-CdR90GGPWOerXWfVeHrFLAelL+MJ9bfoB4TjKBdRSL0="; + hash = "sha256-+hX05y+ii2/wAbcc3SPK3ns4slUKFGqHURb3Z08yhVw="; }; postPatch = '' @@ -42,7 +43,7 @@ buildPythonPackage rec { ln -s ${./Cargo.lock} Cargo.lock ''; name = "${pname}-${version}"; - hash = "sha256-/GO7OcUl0iFgEhr8ZWZQOTNqHn7bt38PpFs0HktmAhE="; + hash = "sha256-ogzj8JxiFX2VWEeEnKACycd2Bud9VUpLuF4h35eUls0="; }; nativeBuildInputs = [ @@ -56,23 +57,23 @@ buildPythonPackage rec { SystemConfiguration ]; - pythonImportsCheck = [ - "css_inline" - ]; + pythonImportsCheck = [ "css_inline" ]; nativeCheckInputs = [ hypothesis pytestCheckHook ]; - disabledTests = [ - # fails to connect to local server - "test_cache" - "test_remote_stylesheet" - ] ++ lib.optionals (stdenv.isDarwin) [ - # pyo3_runtime.PanicException: event loop thread panicked - "test_invalid_href" - ]; + disabledTests = + [ + # fails to connect to local server + "test_cache" + "test_remote_stylesheet" + ] + ++ lib.optionals (stdenv.isDarwin) [ + # pyo3_runtime.PanicException: event loop thread panicked + "test_invalid_href" + ]; meta = with lib; { description = "Inline CSS into style attributes"; |