mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
1b564ea848
Diff: https://github.com/jborean93/psrpcore/compare/refs/tags/v0.2.1...v0.2.2 Changelog: https://github.com/jborean93/psrpcore/blob/v0.2.2/CHANGELOG.md
45 lines
884 B
Nix
45 lines
884 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, cryptography
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, xmldiff
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "psrpcore";
|
|
version = "0.2.2";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jborean93";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-6d5HQJEH/x+V0rpmQkprMlH1n151KyUF6d4tM9W5TFs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cryptography
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|