From f5def97452805f0327911a5bc2611075033cd168 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 23:05:17 +0200 Subject: [PATCH 1/2] python312Packages.peaqevcore: 19.7.12 -> 19.7.14 Changelog: https://github.com/elden1337/peaqev-core/releases/tag/19.7.14 --- pkgs/development/python-modules/peaqevcore/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/peaqevcore/default.nix b/pkgs/development/python-modules/peaqevcore/default.nix index ecd64345e79c..36391f30609e 100644 --- a/pkgs/development/python-modules/peaqevcore/default.nix +++ b/pkgs/development/python-modules/peaqevcore/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "peaqevcore"; - version = "19.7.12"; + version = "19.7.14"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-/oo24hOH2aIXZH0CwmgTNIvA2MJWvOR084rZEOdldGM="; + hash = "sha256-yUGvY5sjt2eXWpu/wSWjxpDpwBEJoZg3nI28QbdfiII="; }; postPatch = '' From 9f4e4be21bc37f61e0102ef2824f407a8e5d6574 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 23:05:43 +0200 Subject: [PATCH 2/2] python312Packages.peaqevcore: format with nixfmt --- .../python-modules/peaqevcore/default.nix | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/peaqevcore/default.nix b/pkgs/development/python-modules/peaqevcore/default.nix index 36391f30609e..3bec6c81fc11 100644 --- a/pkgs/development/python-modules/peaqevcore/default.nix +++ b/pkgs/development/python-modules/peaqevcore/default.nix @@ -1,8 +1,9 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pythonOlder -, setuptools +{ + lib, + buildPythonPackage, + fetchPypi, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -21,17 +22,13 @@ buildPythonPackage rec { sed -i "/extras_require/d" setup.py ''; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; # Tests are not shipped and source is not tagged # https://github.com/elden1337/peaqev-core/issues/4 doCheck = false; - pythonImportsCheck = [ - "peaqevcore" - ]; + pythonImportsCheck = [ "peaqevcore" ]; meta = with lib; { description = "Library for interacting with Peaqev car charging";