diff --git a/pkgs/development/python-modules/paperspace/default.nix b/pkgs/development/python-modules/paperspace/default.nix new file mode 100644 index 000000000000..303534d69c4c --- /dev/null +++ b/pkgs/development/python-modules/paperspace/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchPypi, buildPythonPackage +, boto3, requests +}: + +buildPythonPackage rec { + pname = "paperspace"; + version = "0.0.11"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "0z19arikcjpfvp3bgssnlhplm1qzgw95s3r5fnsyf7nwmc4pvvpa"; + }; + + buildInputs = [ boto3 requests ]; + + doCheck = false; # bizarre test failure + + meta = with stdenv.lib; { + description = "Python API for Paperspace Cloud"; + homepage = https://paperspace.com; + license = licenses.isc; + platforms = platforms.unix; + maintainers = with maintainers; [ thoughtpolice ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1f62f1e7c17f..e0ae870cae0f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3731,6 +3731,8 @@ in { # These used to be here but were moved to all-packages, but I'll leave them around for a while. pants = pkgs.pants; + paperspace = callPackage ../development/python-modules/paperspace { }; + paperwork-backend = callPackage ../applications/office/paperwork/backend.nix { }; papis-python-rofi = callPackage ../development/python-modules/papis-python-rofi { };