mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
python311Packages.crc: disable on unsupported Python releases
- update ordering
This commit is contained in:
parent
e62eb7cbbe
commit
96ac17cf98
@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -10,6 +11,8 @@ buildPythonPackage rec {
|
||||
version = "4.3.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Nicoretti";
|
||||
repo = pname;
|
||||
@ -17,13 +20,21 @@ buildPythonPackage rec {
|
||||
hash = "sha256-rH/jc6/gxww3NSCYrhu+InZX1HTTdJFfa52ioU8AclY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "crc" ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
pythonImportsCheck = [
|
||||
"crc"
|
||||
];
|
||||
|
||||
disabledTestPaths = [ "test/bench" ];
|
||||
disabledTestPaths = [
|
||||
"test/bench"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/Nicoretti/crc/releases/tag/${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user