2018-06-10 09:27:10 +02:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage
|
|
|
|
, boto3, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "paperspace";
|
2019-01-17 16:13:03 +01:00
|
|
|
version = "0.0.13";
|
2018-06-10 09:27:10 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-17 16:13:03 +01:00
|
|
|
sha256 = "824ec2aeccc6ddaba82a28b4ab74b1c81fb94206fd89c2b083eae3a61e63c2bf";
|
2018-06-10 09:27:10 +02:00
|
|
|
};
|
|
|
|
|
2018-06-10 09:45:30 +02:00
|
|
|
propagatedBuildInputs = [ boto3 requests ];
|
2018-06-10 09:27:10 +02:00
|
|
|
|
2018-06-10 09:45:30 +02:00
|
|
|
# tries to use /homeless-shelter to mimic container usage, etc
|
|
|
|
doCheck = false;
|
2018-06-10 09:27:10 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|