lol

python3Packages.pyeapi: 0.8.4 -> 1.0.2

+3 -26
+3 -26
pkgs/development/python-modules/pyeapi/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , setuptools 6 5 , mock 7 6 , netaddr ··· 11 10 12 11 buildPythonPackage rec { 13 12 pname = "pyeapi"; 14 - version = "0.8.4"; 13 + version = "1.0.2"; 15 14 format = "pyproject"; 16 15 17 16 disabled = pythonOlder "3.7"; ··· 19 18 src = fetchFromGitHub { 20 19 owner = "arista-eosplus"; 21 20 repo = pname; 22 - rev = "v${version}"; 23 - sha256 = "13chya6wix5jb82k67gr44bjx35gcdwz80nsvpv0gvzs6shn4d7b"; 21 + rev = "refs/tags/v${version}"; 22 + sha256 = "sha256-GZBoCoAqij54rZezRDF/ihJDQ5T6FFyDSRXGV3//avQ="; 24 23 }; 25 24 26 25 nativeBuildInputs = [ ··· 34 33 nativeCheckInputs = [ 35 34 mock 36 35 pytestCheckHook 37 - ]; 38 - 39 - patches = [ 40 - # Fix usage of collection, https://github.com/arista-eosplus/pyeapi/pull/223 41 - (fetchpatch { 42 - name = "fix-collection-usage.patch"; 43 - url = "https://github.com/arista-eosplus/pyeapi/commit/81754f57eb095703cc474f527a0915360af76f68.patch"; 44 - hash = "sha256-ZNBTPRNmXCFVJeRAJxzIHmCOXZiGwU6t4ekSupU3BX8="; 45 - }) 46 - (fetchpatch { 47 - name = "fix-collection-usage-2.patch"; 48 - url = "https://github.com/arista-eosplus/pyeapi/commit/cc9c584e4a3167e3c1624cccb6bc0d9c9bcdbc1c.patch"; 49 - hash = "sha256-EY0i1Skm1llEQAAzvrb2yelhhLBkqKAFJB5ObAIxAYo="; 50 - excludes = [ 51 - ".github/workflows/ci.yml" 52 - ]; 53 - }) 54 - (fetchpatch { 55 - name = "fix-collection-usage-3.patch"; 56 - url = "https://github.com/arista-eosplus/pyeapi/commit/dc35ab076687ea71665ae9524480b05a4e893909.patch"; 57 - hash = "sha256-xPaYULCPTxiQGB9Im/qLet+XebW9wq+TAfrxcgQxcoE="; 58 - }) 59 36 ]; 60 37 61 38 pytestFlagsArray = [