python310Packages.pykira: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-10-18 22:15:35 +02:00 committed by GitHub
parent 0bde74adf0
commit 12f072da8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "pykira";
version = "0.1.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-MMjmA5N9Ms40eJP9fDDq+LIoPduAnqVrbNLXm+Vl5qw=";
hash = "sha256-MMjmA5N9Ms40eJP9fDDq+LIoPduAnqVrbNLXm+Vl5qw=";
};
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pykira" ];
pythonImportsCheck = [
"pykira"
];
meta = with lib; {
description = "Python module to interact with Kira modules";