From cb860be46180e66b7d921e361f5406080a3fcbe9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 3 Apr 2024 21:00:23 +0200 Subject: [PATCH] python312Packages.pyeapi: use nixfmt --- .../python-modules/pyeapi/default.nix | 37 ++++++++----------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/pkgs/development/python-modules/pyeapi/default.nix b/pkgs/development/python-modules/pyeapi/default.nix index 57abd38fd478..a7063c55e7ae 100644 --- a/pkgs/development/python-modules/pyeapi/default.nix +++ b/pkgs/development/python-modules/pyeapi/default.nix @@ -1,12 +1,13 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, fetchpatch -, setuptools -, mock -, netaddr -, pytestCheckHook -, pythonOlder +{ + lib, + buildPythonPackage, + fetchFromGitHub, + fetchpatch, + setuptools, + mock, + netaddr, + pytestCheckHook, + pythonOlder, }: buildPythonPackage rec { @@ -20,7 +21,7 @@ buildPythonPackage rec { owner = "arista-eosplus"; repo = "pyeapi"; rev = "refs/tags/v${version}"; - sha256 = "sha256-GZBoCoAqij54rZezRDF/ihJDQ5T6FFyDSRXGV3//avQ="; + hash = "sha256-GZBoCoAqij54rZezRDF/ihJDQ5T6FFyDSRXGV3//avQ="; }; patches = [ @@ -32,26 +33,18 @@ buildPythonPackage rec { }) ]; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; - dependencies = [ - netaddr - ]; + dependencies = [ netaddr ]; nativeCheckInputs = [ mock pytestCheckHook ]; - pytestFlagsArray = [ - "test/unit" - ]; + pytestFlagsArray = [ "test/unit" ]; - pythonImportsCheck = [ - "pyeapi" - ]; + pythonImportsCheck = [ "pyeapi" ]; meta = with lib; { description = "Client for Arista eAPI";