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