biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / psrpcore / default.nix
blob8003780b86c28fc6367c6ad4515cd190795bbdd6
2   lib,
3   stdenv,
4   buildPythonPackage,
5   cryptography,
6   fetchFromGitHub,
7   powershell,
8   pytestCheckHook,
9   pythonOlder,
10   setuptools,
11   xmldiff,
14 buildPythonPackage rec {
15   pname = "psrpcore";
16   version = "0.3.0";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   src = fetchFromGitHub {
22     owner = "jborean93";
23     repo = "psrpcore";
24     rev = "refs/tags/v${version}";
25     hash = "sha256-YThumRHMOTyhP6/EmNEew47v/X4Y1aYg1nvgZJz2XUg=";
26   };
28   build-system = [ setuptools ];
30   dependencies = [ cryptography ];
32   nativeCheckInputs = [
33     powershell
34     pytestCheckHook
35     xmldiff
36   ];
38   pythonImportsCheck = [ "psrpcore" ];
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   };