2018-06-10 08:27:10 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage
|
|
|
|
, boto3, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "paperspace";
|
|
|
|
version = "0.0.11";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0z19arikcjpfvp3bgssnlhplm1qzgw95s3r5fnsyf7nwmc4pvvpa";
|
|
|
|
};
|
|
|
|
|
2018-06-10 08:45:30 +01:00
|
|
|
propagatedBuildInputs = [ boto3 requests ];
|
2018-06-10 08:27:10 +01:00
|
|
|
|
2018-06-10 08:45:30 +01:00
|
|
|
# tries to use /homeless-shelter to mimic container usage, etc
|
|
|
|
doCheck = false;
|
2018-06-10 08:27:10 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python API for Paperspace Cloud";
|
|
|
|
homepage = https://paperspace.com;
|
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|