pythonPackages.linode: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-15 17:07:54 -04:00
committed by Frederik Rietdijk
parent 61552d7893
commit 3f60a4cce4
2 changed files with 26 additions and 18 deletions

View File

@@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "linode";
version = "0.4";
src = fetchPypi {
inherit pname version;
sha256 = "db3c2a7fab8966d903a63f16c515bff241533e4ef2d746aa7aae4a49bba5e573";
};
propagatedBuildInputs = [ requests ];
meta = with stdenv.lib; {
homepage = "https://github.com/ghickman/linode";
description = "A thin python wrapper around Linode's API";
license = licenses.mit;
maintainers = with maintainers; [ nslqqq ];
};
}