Merge pull request #309756 from fabaff/winacl-bump

python312Packages.winacl: 0.1.8 -> 0.1.9
This commit is contained in:
Fabian Affolter 2024-05-07 15:11:10 +02:00 committed by GitHub
commit 35726c229c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,37 +1,32 @@
{ lib
, buildPythonPackage
, cryptography
, fetchPypi
, pythonOlder
{
lib,
buildPythonPackage,
cryptography,
fetchPypi,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "winacl";
version = "0.1.8";
format = "setuptools";
version = "0.1.9";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-RCcaMCVi3lFin2jvFUDUDzom57wBc2RrAaZ3nO2tZEw=";
hash = "sha256-r3DC7DAXi/njyKHEjCXoeBI1/iwbMhrbRuLyrh+NSqs=";
};
propagatedBuildInputs = [
cryptography
];
build-system = [ setuptools ];
postPatch = ''
substituteInPlace setup.py \
--replace "cryptography>=38.0.1" "cryptography"
'';
dependencies = [ cryptography ];
# Project doesn't have tests
doCheck = false;
pythonImportsCheck = [
"winacl"
];
pythonImportsCheck = [ "winacl" ];
meta = with lib; {
description = "Python module for ACL/ACE/Security descriptor manipulation";