@@ -1,7 +1,6 @@
11{ lib
22, buildPythonApplication
33, fetchFromGitHub
4−, fetchpatch
54, fetchurl
65, terminaltables
76, colorclass
@@ -13,31 +12,23 @@
1312let
1413
1514 spec = fetchurl {
16− url = "https://raw.githubusercontent.com/linode/linode-api-docs/v4.67.0/openapi.yaml";
17− sha256 = "0vsblprkqlr9508x5rkm0wj6lc3w72xiwiqxia9asgr5k45hhfnr";
15+ url = "https://raw.githubusercontent.com/linode/linode-api-docs/v4.89.0/openapi.yaml";
16+ sha256 = "sha256-R7Dmq8ifGEjh47ftuoGrbymYBsPCj/ULz0j1OqJDcwY=";
1817 };
1918
2019in
2120
2221buildPythonApplication rec {
2322 pname = "linode-cli";
24− version = "2.15.0";
23+ version = "5.0.1";
2524
2625 src = fetchFromGitHub {
2726 owner = "linode";
2827 repo = pname;
2928 rev = version;
30− sha256 = "06iz9xjj6h1ry176558488fl9j18a5vf724zh4cxlcksdy72dnna";
29+ sha256 = "sha256-zelopRaHaDCnbYA/y7dNMBh70g0+wuc6t9LH/VLaUIk=";
3130 };
3231
33− patches = [
34− # make enum34 depend on python version
35− ( fetchpatch {
36− url = "https://github.com/linode/linode-cli/pull/184/commits/4cf55759c5da33fbc49b9ba664698875d67d4f76.patch";
37− sha256 = "04n9a6yh0abyyymvfzajhav6qxwvzjl2vs8jnqp3yqrma7kl0slj";
38− })
39− ];
40−
4132 # remove need for git history
4233 prePatch = ''
4334 substituteInPlace setup.py \