Unverified Commit 2ccb14a8 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #284756 from fabaff/frigidaire-bump

python311Packages.frigidaire: 0.18.13 -> 0.18.15
parents 463c64d2 7a12b26f
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -6,28 +6,33 @@
, idna
, pythonOlder
, requests
, setuptools
, urllib3
}:

buildPythonPackage rec {
  pname = "frigidaire";
  version = "0.18.13";
  format = "setuptools";
  version = "0.18.15";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "bm1549";
    repo = pname;
    repo = "frigidaire";
    rev = "refs/tags/${version}";
    hash = "sha256-FikBV4KjutQfupGPXcVT1h+BfQ099WRrmbrEJOaVCQI=";
    hash = "sha256-5+epdQyeTGJp8iTrX6vyp4JgM45Fl5cb67Z8trNBe+8=";
  };

  postPatch = ''
    substituteInPlace setup.py \
      --replace 'version = "SNAPSHOT"' 'version = "${version}"'
      --replace-warn 'version = "SNAPSHOT"' 'version = "${version}"'
  '';

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    certifi
    chardet