From 3a1817aaa9bb4502d68a4d0494fdf0943e9c1a6d Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Sat, 9 Nov 2024 07:56:41 +0000 Subject: [PATCH 1/3] libblockdev: add updateScript --- pkgs/by-name/li/libblockdev/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/li/libblockdev/package.nix b/pkgs/by-name/li/libblockdev/package.nix index 6e0f9858f730e..7aebb5159bc3f 100644 --- a/pkgs/by-name/li/libblockdev/package.nix +++ b/pkgs/by-name/li/libblockdev/package.nix @@ -28,6 +28,7 @@ , e2fsprogs , libnvme , keyutils +, nix-update-script }: stdenv.mkDerivation (finalAttrs: { pname = "libblockdev"; @@ -89,6 +90,8 @@ stdenv.mkDerivation (finalAttrs: { ${lib.makeBinPath [ thin-provisioning-tools ]} ''; + passthru.updateScript = nix-update-script { }; + meta = { changelog = "https://github.com/storaged-project/libblockdev/raw/${finalAttrs.src.rev}/NEWS.rst"; description = "Library for manipulating block devices"; From 56197afc1422dd0f227085b23d31bbf8becccf0d Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Sat, 9 Nov 2024 08:30:12 +0000 Subject: [PATCH 2/3] libblockdev: 3.1.1 -> 3.2.1 --- pkgs/by-name/li/libblockdev/package.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/li/libblockdev/package.nix b/pkgs/by-name/li/libblockdev/package.nix index 7aebb5159bc3f..f64d7bca737b3 100644 --- a/pkgs/by-name/li/libblockdev/package.nix +++ b/pkgs/by-name/li/libblockdev/package.nix @@ -28,17 +28,19 @@ , e2fsprogs , libnvme , keyutils +, libatasmart +, json-glib , nix-update-script }: stdenv.mkDerivation (finalAttrs: { pname = "libblockdev"; - version = "3.1.1"; + version = "3.2.1"; src = fetchFromGitHub { owner = "storaged-project"; repo = "libblockdev"; - rev = "${finalAttrs.version}-1"; - hash = "sha256-WCMedMkaMMhZbB3iJu3c+CTT3AvOjzOSYP45J+NQEDQ="; + rev = finalAttrs.version; + hash = "sha256-85vfHHR6WqSPCW1QmD3HccIpOqNYrx1PDjTh297VA1A="; }; outputs = [ "out" "dev" "devdoc" "python" ]; @@ -71,8 +73,10 @@ stdenv.mkDerivation (finalAttrs: { e2fsprogs glib gptfdisk + json-glib keyutils kmod + libatasmart libbytesize libndctl libnvme From 5581748393b2afe4f2ad329d04032255a72eae03 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 8 Nov 2024 18:42:36 +0000 Subject: [PATCH 3/3] python312Packages.blivet: 3.10.1 -> 3.11.0 --- pkgs/development/python-modules/blivet/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/blivet/default.nix b/pkgs/development/python-modules/blivet/default.nix index e3ca43c8cd225..bcdd909f092a0 100644 --- a/pkgs/development/python-modules/blivet/default.nix +++ b/pkgs/development/python-modules/blivet/default.nix @@ -35,14 +35,14 @@ let in buildPythonPackage rec { pname = "blivet"; - version = "3.10.1"; + version = "3.11.0"; format = "setuptools"; src = fetchFromGitHub { owner = "storaged-project"; repo = "blivet"; - rev = "blivet-${version}"; - hash = "sha256-Ooc63mf03ZO7zxm8s/Tm8jSQg5LWyKnHAqbyvn1UHB8="; + rev = "refs/tags/blivet-${version}"; + hash = "sha256-X5U6XFmcsTfetpxwH0ONSnTasnwh2USukYtx+8HwVGc="; }; postPatch = ''