depot/third_party/nixpkgs/pkgs/development/python-modules/winsspi/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

37 lines
708 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, minikerberos
, pythonOlder
}:
buildPythonPackage rec {
pname = "winsspi";
version = "0.0.10";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-L1qNLEufRZFEQmkJ4mp05VBRLiO2z5r1LCoAADx8P9s=";
};
propagatedBuildInputs = [
minikerberos
];
# Module doesn't have tests
doCheck = false;
pythonImportsCheck = [
"winsspi"
];
meta = with lib; {
description = "Python module for ACL/ACE/Security descriptor manipulation";
homepage = "https://github.com/skelsec/winsspi";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}