pythonPackages.vultr: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 09:29:27 -04:00
parent 79112e8522
commit 1fe585403d
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 31 additions and 24 deletions

View File

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
version = "0.1.2";
pname = "vultr";
src = fetchFromGitHub {
owner = "spry-group";
repo = "python-vultr";
rev = "${version}";
sha256 = "1qjvvr2v9gfnwskdl0ayazpcmiyw9zlgnijnhgq9mcri5gq9jw5h";
};
propagatedBuildInputs = [ requests ];
# Tests disabled. They fail because they try to access the network
doCheck = false;
meta = with stdenv.lib; {
description = "Vultr.com API Client";
homepage = "https://github.com/spry-group/python-vultr";
license = licenses.mit;
maintainers = with maintainers; [ lihop ];
};
}

View File

@ -4093,30 +4093,7 @@ in {
vmprof = callPackage ../development/python-modules/vmprof { };
vultr = buildPythonPackage rec {
version = "0.1.2";
name = "vultr-${version}";
src = pkgs.fetchFromGitHub {
owner = "spry-group";
repo = "python-vultr";
rev = "${version}";
sha256 = "1qjvvr2v9gfnwskdl0ayazpcmiyw9zlgnijnhgq9mcri5gq9jw5h";
};
propagatedBuildInputs = with self; [ requests ];
# Tests disabled. They fail because they try to access the network
doCheck = false;
meta = {
description = "Vultr.com API Client";
homepage = "https://github.com/spry-group/python-vultr";
license = licenses.mit;
maintainers = with maintainers; [ lihop ];
platforms = platforms.all;
};
};
vultr = callPackage ../development/python-modules/vultr { };
waitress = buildPythonPackage rec {
name = "waitress-1.0.2";