nixopsUnstable: Add nixops-digitalocean plugin

+66 -1
+1
pkgs/applications/networking/cluster/nixops/default.nix
··· 62 62 63 63 pkg = interpreter.pkgs.nixops.withPlugins(ps: [ 64 64 ps.nixops-aws 65 + ps.nixops-digitalocean 65 66 ps.nixops-encrypted-links 66 67 ps.nixops-gcp 67 68 ps.nixops-hercules-ci
+10
pkgs/applications/networking/cluster/nixops/poetry-git-overlay.nix
··· 21 21 } 22 22 ); 23 23 24 + nixops-digitalocean = super.nixops-digitalocean.overridePythonAttrs ( 25 + _: { 26 + src = pkgs.fetchgit { 27 + url = "https://github.com/nix-community/nixops-digitalocean.git"; 28 + rev = "b527b4bd27a419753e38c8231fd7528b3ea33886"; 29 + sha256 = "069jlgcjqgyb1v3dnrp2h0w4gv5hfx624iq2xazaix2wxpx9w7f8"; 30 + }; 31 + } 32 + ); 33 + 24 34 nixops-encrypted-links = super.nixops-encrypted-links.overridePythonAttrs ( 25 35 _: { 26 36 src = pkgs.fetchgit {
+54 -1
pkgs/applications/networking/cluster/nixops/poetry.lock
··· 180 180 python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" 181 181 182 182 [[package]] 183 + name = "jsonpickle" 184 + version = "2.0.0" 185 + description = "Python library for serializing any arbitrary object graph into JSON" 186 + category = "main" 187 + optional = false 188 + python-versions = ">=2.7" 189 + 190 + [package.extras] 191 + docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"] 192 + testing = ["coverage (<5)", "pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-black-multipy", "pytest-cov", "ecdsa", "feedparser", "numpy", "pandas", "pymongo", "sklearn", "sqlalchemy", "enum34", "jsonlib"] 193 + "testing.libs" = ["demjson", "simplejson", "ujson", "yajl"] 194 + 195 + [[package]] 183 196 name = "libvirt-python" 184 197 version = "7.9.0" 185 198 description = "The libvirt virtualization API python binding" ··· 239 252 resolved_reference = "83900880a413218020ddd91d6cd3f5b823acb3fb" 240 253 241 254 [[package]] 255 + name = "nixops-digitalocean" 256 + version = "2.0" 257 + description = "NixOps plugin for Digital Ocean" 258 + category = "main" 259 + optional = false 260 + python-versions = "^3.7" 261 + develop = false 262 + 263 + [package.dependencies] 264 + nixops = {git = "https://github.com/NixOS/nixops.git", branch = "master"} 265 + python-digitalocean = "^1.15.0" 266 + 267 + [package.source] 268 + type = "git" 269 + url = "https://github.com/nix-community/nixops-digitalocean.git" 270 + reference = "master" 271 + resolved_reference = "b527b4bd27a419753e38c8231fd7528b3ea33886" 272 + 273 + [[package]] 242 274 name = "nixops-encrypted-links" 243 275 version = "1.0" 244 276 description = "Encrypted links support for NixOps" ··· 440 472 six = ">=1.5" 441 473 442 474 [[package]] 475 + name = "python-digitalocean" 476 + version = "1.17.0" 477 + description = "digitalocean.com API to manage Droplets and Images" 478 + category = "main" 479 + optional = false 480 + python-versions = "*" 481 + 482 + [package.dependencies] 483 + jsonpickle = "*" 484 + requests = "*" 485 + 486 + [[package]] 443 487 name = "pytz" 444 488 version = "2021.3" 445 489 description = "World timezone definitions, modern and historical" ··· 633 677 [metadata] 634 678 lock-version = "1.1" 635 679 python-versions = "^3.8" 636 - content-hash = "d55e8dc060befe16e5bca3d39c4b6815d038a845311a0faf061af66d64a7f901" 680 + content-hash = "e75c6429aa8989659a345f903e2e67d87514b5864751e33890d90aa2d20ef3e2" 637 681 638 682 [metadata.files] 639 683 alabaster = [ ··· 766 810 {file = "jmespath-0.10.0-py2.py3-none-any.whl", hash = "sha256:cdf6525904cc597730141d61b36f2e4b8ecc257c420fa2f4549bac2c2d0cb72f"}, 767 811 {file = "jmespath-0.10.0.tar.gz", hash = "sha256:b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9"}, 768 812 ] 813 + jsonpickle = [ 814 + {file = "jsonpickle-2.0.0-py2.py3-none-any.whl", hash = "sha256:c1010994c1fbda87a48f8a56698605b598cb0fc6bb7e7927559fc1100e69aeac"}, 815 + {file = "jsonpickle-2.0.0.tar.gz", hash = "sha256:0be49cba80ea6f87a168aa8168d717d00c6ca07ba83df3cec32d3b30bfe6fb9a"}, 816 + ] 769 817 libvirt-python = [ 770 818 {file = "libvirt-python-7.9.0.tar.gz", hash = "sha256:8535cffa5fbf05185648f9f57a2f71899c3bc12c897d320351c53725a48e5359"}, 771 819 ] ··· 807 855 ] 808 856 nixops = [] 809 857 nixops-aws = [] 858 + nixops-digitalocean = [] 810 859 nixops-encrypted-links = [] 811 860 nixops-gcp = [] 812 861 nixops-hercules-ci = [] ··· 842 891 python-dateutil = [ 843 892 {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, 844 893 {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, 894 + ] 895 + python-digitalocean = [ 896 + {file = "python-digitalocean-1.17.0.tar.gz", hash = "sha256:107854fde1aafa21774e8053cf253b04173613c94531f75d5a039ad770562b24"}, 897 + {file = "python_digitalocean-1.17.0-py3-none-any.whl", hash = "sha256:0032168e022e85fca314eb3f8dfaabf82087f2ed40839eb28f1eeeeca5afb1fa"}, 845 898 ] 846 899 pytz = [ 847 900 {file = "pytz-2021.3-py2.py3-none-any.whl", hash = "sha256:3672058bc3453457b622aab7a1c3bfd5ab0bdae451512f6cf25f64ed37f5b87c"},
+1
pkgs/applications/networking/cluster/nixops/pyproject.toml
··· 8 8 python = "^3.8" 9 9 nixops = {git = "https://github.com/NixOS/nixops.git"} 10 10 nixops-aws = {git = "https://github.com/NixOS/nixops-aws.git"} 11 + nixops-digitalocean = {git = "https://github.com/nix-community/nixops-digitalocean.git"} 11 12 nixops-encrypted-links = {git = "https://github.com/nix-community/nixops-encrypted-links.git"} 12 13 nixops-gcp = {git = "https://github.com/nix-community/nixops-gce.git"} 13 14 nixops-hercules-ci = {git = "https://github.com/hercules-ci/nixops-hercules-ci.git"}