python3Packages.winsspi: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-04-26 10:05:34 +02:00 committed by GitHub
parent c7352fbc0e
commit 2be43f1393
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,21 +2,31 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, minikerberos , minikerberos
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "winsspi"; pname = "winsspi";
version = "0.0.10"; version = "0.0.10";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-L1qNLEufRZFEQmkJ4mp05VBRLiO2z5r1LCoAADx8P9s="; hash = "sha256-L1qNLEufRZFEQmkJ4mp05VBRLiO2z5r1LCoAADx8P9s=";
}; };
propagatedBuildInputs = [ minikerberos ];
# Project doesn't have tests propagatedBuildInputs = [
minikerberos
];
# Module doesn't have tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ "winsspi" ];
pythonImportsCheck = [
"winsspi"
];
meta = with lib; { meta = with lib; {
description = "Python module for ACL/ACE/Security descriptor manipulation"; description = "Python module for ACL/ACE/Security descriptor manipulation";