infra/nix/proxmoxer/default.nix

24 lines
626 B
Nix
Raw Normal View History

2018-10-25 11:13:36 +03:00
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
python27.pkgs.buildPythonPackage rec {
pname = "proxmoxer";
version = "1.0.3";
src = python36.pkgs.fetchPypi {
inherit pname version;
sha256 = "145hvphvlzvwq6sn31ldnin0ii50blsapxz0gv2zx3grzp6x9hvh";
};
2018-10-29 14:24:46 +03:00
patches = [ ./show_reason_on_exceptions.patch ];
patches = [ ./added_timeout_settings_for_auth_request.diff ];
patches = [ ./fix_pvesh_output_format_for_version_more_than_5.3.diff ];
2018-10-25 11:13:36 +03:00
doCheck = false;
meta = {
homepage = "https://github.com/proxmoxer/proxmoxer";
2018-10-25 11:13:36 +03:00
description = "Proxmoxer is a wrapper around the Proxmox REST API v2";
};
}