Merge pull request #284756 from fabaff/frigidaire-bump

python311Packages.frigidaire: 0.18.13 -> 0.18.15
This commit is contained in:
Nick Cao 2024-01-29 09:29:12 -05:00 committed by GitHub
commit 2ccb14a867
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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