From 8de507677bc1ce8b883af5907a93aa89b292540e Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Mon, 6 Apr 2026 22:05:15 -0700 Subject: [PATCH 1/2] python3Packages.peakrdl-cheader: use finalAttrs style --- pkgs/development/python-modules/peakrdl-cheader/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/peakrdl-cheader/default.nix b/pkgs/development/python-modules/peakrdl-cheader/default.nix index f3c6287ee576..3e9664896639 100644 --- a/pkgs/development/python-modules/peakrdl-cheader/default.nix +++ b/pkgs/development/python-modules/peakrdl-cheader/default.nix @@ -10,7 +10,7 @@ systemrdl-compiler, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "peakrdl-cheader"; version = "1.0.0"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "SystemRDL"; repo = "PeakRDL-cheader"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-1LxKGCea5ClKmrArl+CM6ZRpiTh2ThbYSe9TYYHjRlY="; }; @@ -42,4 +42,4 @@ buildPythonPackage rec { license = lib.licenses.lgpl3; maintainers = [ lib.maintainers.jmbaur ]; }; -} +}) From e3b21a7341d6491b98319a3798ca99d61f07f55c Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Mon, 6 Apr 2026 22:08:01 -0700 Subject: [PATCH 2/2] python3Packages.peakrdl-cheader: 1.0.0 -> 1.1.0 This includes a change in license to lgpl3Only. --- pkgs/development/python-modules/peakrdl-cheader/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/peakrdl-cheader/default.nix b/pkgs/development/python-modules/peakrdl-cheader/default.nix index 3e9664896639..1bef65a58fee 100644 --- a/pkgs/development/python-modules/peakrdl-cheader/default.nix +++ b/pkgs/development/python-modules/peakrdl-cheader/default.nix @@ -12,7 +12,7 @@ buildPythonPackage (finalAttrs: { pname = "peakrdl-cheader"; - version = "1.0.0"; + version = "1.1.0"; pyproject = true; @@ -20,7 +20,7 @@ buildPythonPackage (finalAttrs: { owner = "SystemRDL"; repo = "PeakRDL-cheader"; tag = "v${finalAttrs.version}"; - hash = "sha256-1LxKGCea5ClKmrArl+CM6ZRpiTh2ThbYSe9TYYHjRlY="; + hash = "sha256-IPGNauPA9y1HNEbk3eEOog17++/gSJt+185i+DFb54U="; }; build-system = [ @@ -39,7 +39,7 @@ buildPythonPackage (finalAttrs: { meta = { description = "C Header generator for a SystemRDL definition"; homepage = "https://peakrdl-cheader.readthedocs.io/"; - license = lib.licenses.lgpl3; + license = lib.licenses.lgpl3Only; maintainers = [ lib.maintainers.jmbaur ]; }; })