Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 45 lines 879 B view raw
1{ lib 2, buildPythonPackage 3, cryptography 4, fetchFromGitHub 5, pytestCheckHook 6, pythonOlder 7, xmldiff 8}: 9 10buildPythonPackage rec { 11 pname = "psrpcore"; 12 version = "0.2.1"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "jborean93"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-KMSyqXKhNH+i9Y0Mx3DHCwJZOkl4Va2n0zu0TEitslU="; 22 }; 23 24 propagatedBuildInputs = [ 25 cryptography 26 ]; 27 28 checkInputs = [ 29 pytestCheckHook 30 xmldiff 31 ]; 32 33 34 pythonImportsCheck = [ 35 "psrpcore" 36 ]; 37 38 meta = with lib; { 39 description = "Library for the PowerShell Remoting Protocol (PSRP)"; 40 homepage = "https://github.com/jborean93/psrpcore"; 41 changelog = "https://github.com/jborean93/psrpcore/blob/v${version}/CHANGELOG.md"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}