at master 993 B view raw
1{ 2 lib, 3 stdenv, 4 buildPythonPackage, 5 cryptography, 6 fetchFromGitHub, 7 powershell, 8 pytestCheckHook, 9 pythonOlder, 10 setuptools, 11 xmldiff, 12}: 13 14buildPythonPackage rec { 15 pname = "psrpcore"; 16 version = "0.3.1"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.8"; 20 21 src = fetchFromGitHub { 22 owner = "jborean93"; 23 repo = "psrpcore"; 24 tag = "v${version}"; 25 hash = "sha256-svfqTOKKFKMphIPnvXfAbPZrp1GTV2D+33I0Rajfv1Y="; 26 }; 27 28 build-system = [ setuptools ]; 29 30 dependencies = [ cryptography ]; 31 32 nativeCheckInputs = [ 33 powershell 34 pytestCheckHook 35 xmldiff 36 ]; 37 38 pythonImportsCheck = [ "psrpcore" ]; 39 40 meta = with lib; { 41 description = "Library for the PowerShell Remoting Protocol (PSRP)"; 42 homepage = "https://github.com/jborean93/psrpcore"; 43 changelog = "https://github.com/jborean93/psrpcore/blob/v${version}/CHANGELOG.md"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ fab ]; 46 broken = stdenv.hostPlatform.isDarwin; 47 }; 48}