python3Packages.syrupy: fix wrong version disabler
`pythonOlder` only checks for major and minor version specifiers of python. However, https://github.com/tophat/syrupy/releases/tag/v4.0.0 specifies that 3.8.1 is the minimum supported release. Currently, although deprecated, the provided python38 version is 3.8.17. Thus this package should be available.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, python
|
||||
, poetry-core
|
||||
, pytest
|
||||
, colored
|
||||
@@ -13,7 +13,7 @@ buildPythonPackage rec {
|
||||
version = "4.0.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8.1";
|
||||
disabled = lib.versionOlder python.version "3.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tophat";
|
||||
|
||||
Reference in New Issue
Block a user