1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

Merge pull request #289944 from fabaff/goodwe-bump

python311Packages.goodwe: 0.3.0 -> 0.3.1
This commit is contained in:
Nick Cao 2024-02-19 09:45:32 -05:00 committed by GitHub
commit caf1154100
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,22 +8,22 @@
buildPythonPackage rec {
pname = "goodwe";
version = "0.3.0";
format = "pyproject";
version = "0.3.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "marcelblijleven";
repo = pname;
repo = "goodwe";
rev = "refs/tags/v${version}";
hash = "sha256-5wUGbXAmpdHHgM3HLCKPauIkbp4GDqky3I5T2hN3Pvk=";
hash = "sha256-6KCIfCyViiBU/cez9m34FMPkTUTkmEYc/e/xYqOyJLY=";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace "'marcelblijleven@gmail.com" "marcelblijleven@gmail.com" \
--replace "version: file: VERSION" "version = ${version}"
--replace-fail "'marcelblijleven@gmail.com" "marcelblijleven@gmail.com" \
--replace-fail "version: file: VERSION" "version = ${version}"
'';
nativeBuildInputs = [