mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
python3Packages.winsspi: disable on older Python releases
This commit is contained in:
parent
c7352fbc0e
commit
2be43f1393
1 changed files with 14 additions and 4 deletions
|
@ -2,21 +2,31 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, minikerberos
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "winsspi";
|
||||
version = "0.0.10";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
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;
|
||||
pythonImportsCheck = [ "winsspi" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"winsspi"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for ACL/ACE/Security descriptor manipulation";
|
||||
|
|
Loading…
Reference in a new issue