mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 12:23:55 +00:00
49 lines
990 B
Nix
49 lines
990 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
buildPythonPackage,
|
|
cryptography,
|
|
fetchFromGitHub,
|
|
powershell,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
xmldiff,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "psrpcore";
|
|
version = "0.3.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jborean93";
|
|
repo = "psrpcore";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-YThumRHMOTyhP6/EmNEew47v/X4Y1aYg1nvgZJz2XUg=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ cryptography ];
|
|
|
|
nativeCheckInputs = [
|
|
powershell
|
|
pytestCheckHook
|
|
xmldiff
|
|
];
|
|
|
|
pythonImportsCheck = [ "psrpcore" ];
|
|
|
|
meta = with lib; {
|
|
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 = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
broken = stdenv.isDarwin;
|
|
};
|
|
}
|