From f728650731610548b78b4d4263985e8054843492 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 9 Jul 2013 11:28:39 +0200 Subject: [PATCH] pythonPackages: Add new hetzner module, v0.2.1. This is for accessing the Hetzner Robot API (an IPMI-like interface). Signed-off-by: aszlig --- pkgs/top-level/python-packages.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 65320967e077..55059c111ef0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2125,6 +2125,29 @@ pythonPackages = python.modules // rec { }; }; + + hetzner = buildPythonPackage rec { + name = "hetzner-${version}"; + version = "0.2.1"; + + src = fetchurl { + url = "https://github.com/RedMoonStudios/hetzner/archive/" + + "v${version}.tar.gz"; + sha256 = "0im7frzmbd1v89251ci8ahrjhw578nmksqlfcdakim0jr23si4wh"; + }; + + # not there yet, but coming soon. + doCheck = false; + + meta = { + homepage = "https://github.com/RedMoonStudios/hetzner"; + description = "High-level Python API for accessing the Hetzner robot"; + license = stdenv.lib.licenses.bsd3; + maintainers = [ stdenv.lib.maintainers.aszlig ]; + }; + }; + + html5lib = buildPythonPackage (rec { name = "html5lib-0.95";