From 2cae06543f7133a0a9ea7ca9cb7bfaac71b2a86f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 30 Apr 2024 14:55:32 +0000 Subject: [PATCH 1/3] python311Packages.ldfparser: 0.24.0 -> 0.25.0 --- pkgs/development/python-modules/ldfparser/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ldfparser/default.nix b/pkgs/development/python-modules/ldfparser/default.nix index d012e32da0f0..0454846fced4 100644 --- a/pkgs/development/python-modules/ldfparser/default.nix +++ b/pkgs/development/python-modules/ldfparser/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "ldfparser"; - version = "0.24.0"; + version = "0.25.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "c4deszes"; repo = "ldfparser"; rev = "refs/tags/v${version}"; - hash = "sha256-+7L2WCQEDpWPDBPVt4ddoz0U4YkJ9GqQqp0cKj2fAXM="; + hash = "sha256-SZ9mWV5PjkQ2OiScPSMrunkKQWmuYW2lB2JvpTGNbY4="; }; nativeBuildInputs = [ From 1b69a6992b392480b52e44614875b03e255b0edd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 2 May 2024 09:11:27 +0200 Subject: [PATCH 2/3] python311Packages.ldfparser: refactor --- pkgs/development/python-modules/ldfparser/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/ldfparser/default.nix b/pkgs/development/python-modules/ldfparser/default.nix index 0454846fced4..c73db1ff30e3 100644 --- a/pkgs/development/python-modules/ldfparser/default.nix +++ b/pkgs/development/python-modules/ldfparser/default.nix @@ -24,11 +24,11 @@ buildPythonPackage rec { hash = "sha256-SZ9mWV5PjkQ2OiScPSMrunkKQWmuYW2lB2JvpTGNbY4="; }; - nativeBuildInputs = [ + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ bitstruct jinja2 lark @@ -50,10 +50,10 @@ buildPythonPackage rec { meta = with lib; { description = "LIN Description File parser written in Python"; - mainProgram = "ldfparser"; homepage = "https://github.com/c4deszes/ldfparser"; changelog = "https://github.com/c4deszes/ldfparser/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "ldfparser"; }; } From 24a885603192ceb43da08e09f60abbfb81bbb408 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 2 May 2024 09:11:44 +0200 Subject: [PATCH 3/3] python311Packages.ldfparser: format with nixfmt --- .../python-modules/ldfparser/default.nix | 29 +++++++++---------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/ldfparser/default.nix b/pkgs/development/python-modules/ldfparser/default.nix index c73db1ff30e3..c6c83aa64ba6 100644 --- a/pkgs/development/python-modules/ldfparser/default.nix +++ b/pkgs/development/python-modules/ldfparser/default.nix @@ -1,13 +1,14 @@ -{ lib -, bitstruct -, buildPythonPackage -, fetchFromGitHub -, jinja2 -, jsonschema -, lark -, pytestCheckHook -, pythonOlder -, setuptools +{ + lib, + bitstruct, + buildPythonPackage, + fetchFromGitHub, + jinja2, + jsonschema, + lark, + pytestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -24,9 +25,7 @@ buildPythonPackage rec { hash = "sha256-SZ9mWV5PjkQ2OiScPSMrunkKQWmuYW2lB2JvpTGNbY4="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ bitstruct @@ -39,9 +38,7 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ - "ldfparser" - ]; + pythonImportsCheck = [ "ldfparser" ]; disabledTestPaths = [ # We don't care about benchmarks