Loading pkgs/development/python-modules/goodwe/default.nix +6 −12 Original line number Diff line number Diff line Loading @@ -6,24 +6,18 @@ setuptools, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "goodwe"; version = "0.4.8"; version = "0.4.9"; pyproject = true; src = fetchFromGitHub { owner = "marcelblijleven"; repo = "goodwe"; tag = "v${version}"; hash = "sha256-EsMv4hzGsAV9OTFo2b/omM4hx7XxUcdO6rrMzQ3DmNQ="; tag = "v${finalAttrs.version}"; hash = "sha256-WHLvfAlwhcA0JFSWfwUPsJ9dWmadIjyonXEP3Bb6WKE="; }; postPatch = '' substituteInPlace setup.cfg \ --replace-fail "'marcelblijleven@gmail.com" "marcelblijleven@gmail.com" \ --replace-fail "version: file: VERSION" "version = ${version}" ''; build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; Loading @@ -33,8 +27,8 @@ buildPythonPackage rec { meta = { description = "Python library for connecting to GoodWe inverter"; homepage = "https://github.com/marcelblijleven/goodwe"; changelog = "https://github.com/marcelblijleven/goodwe/releases/tag/v${version}"; changelog = "https://github.com/marcelblijleven/goodwe/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; } }) Loading
pkgs/development/python-modules/goodwe/default.nix +6 −12 Original line number Diff line number Diff line Loading @@ -6,24 +6,18 @@ setuptools, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "goodwe"; version = "0.4.8"; version = "0.4.9"; pyproject = true; src = fetchFromGitHub { owner = "marcelblijleven"; repo = "goodwe"; tag = "v${version}"; hash = "sha256-EsMv4hzGsAV9OTFo2b/omM4hx7XxUcdO6rrMzQ3DmNQ="; tag = "v${finalAttrs.version}"; hash = "sha256-WHLvfAlwhcA0JFSWfwUPsJ9dWmadIjyonXEP3Bb6WKE="; }; postPatch = '' substituteInPlace setup.cfg \ --replace-fail "'marcelblijleven@gmail.com" "marcelblijleven@gmail.com" \ --replace-fail "version: file: VERSION" "version = ${version}" ''; build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; Loading @@ -33,8 +27,8 @@ buildPythonPackage rec { meta = { description = "Python library for connecting to GoodWe inverter"; homepage = "https://github.com/marcelblijleven/goodwe"; changelog = "https://github.com/marcelblijleven/goodwe/releases/tag/v${version}"; changelog = "https://github.com/marcelblijleven/goodwe/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; } })