python3Packages.karton-config-extractor: disable on older Python releses

This commit is contained in:
Fabian Affolter 2022-02-23 16:17:50 +01:00 committed by GitHub
parent f32c913596
commit 621ec997e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,11 +3,15 @@
, fetchFromGitHub , fetchFromGitHub
, karton-core , karton-core
, malduck , malduck
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "karton-config-extractor"; pname = "karton-config-extractor";
version = "2.0.2"; version = "2.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CERT-Polska"; owner = "CERT-Polska";
@ -28,7 +32,10 @@ buildPythonPackage rec {
# Project has no tests # Project has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ "karton.config_extractor" ];
pythonImportsCheck = [
"karton.config_extractor"
];
meta = with lib; { meta = with lib; {
description = "Static configuration extractor for the Karton framework"; description = "Static configuration extractor for the Karton framework";