pythonPackages.hetzner: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 16:54:03 -04:00 committed by Frederik Rietdijk
parent d063f818d5
commit a340c88b2d
2 changed files with 25 additions and 19 deletions

View File

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "hetzner";
version = "0.8.1";
src = fetchFromGitHub {
repo = "hetzner";
owner = "aszlig";
rev = "v${version}";
sha256 = "1xd1klvjskv0pg8ginih597jkk491a55b8dq80dsm61m5sbsx3vq";
};
meta = with stdenv.lib; {
homepage = "https://github.com/RedMoonStudios/hetzner";
description = "High-level Python API for accessing the Hetzner robot";
license = licenses.bsd3;
maintainers = with maintainers; [ aszlig ];
};
}

View File

@ -2446,25 +2446,7 @@ in {
hcs_utils = callPackage ../development/python-modules/hcs_utils { }; hcs_utils = callPackage ../development/python-modules/hcs_utils { };
hetzner = buildPythonPackage rec { hetzner = callPackage ../development/python-modules/hetzner { };
name = "hetzner-${version}";
version = "0.8.1";
src = pkgs.fetchFromGitHub {
repo = "hetzner";
owner = "aszlig";
rev = "v${version}";
sha256 = "1xd1klvjskv0pg8ginih597jkk491a55b8dq80dsm61m5sbsx3vq";
};
meta = {
homepage = "https://github.com/RedMoonStudios/hetzner";
description = "High-level Python API for accessing the Hetzner robot";
license = licenses.bsd3;
maintainers = with maintainers; [ aszlig ];
};
};
htmllaundry = buildPythonPackage rec { htmllaundry = buildPythonPackage rec {
name = "htmllaundry-2.0"; name = "htmllaundry-2.0";