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:
commit
caf1154100
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue