Skip to content

Commit b03ddc0

Browse files
emarynbjornfor
authored andcommitted
sedutil: 1.20.0 -> 1.49.6
1 parent 8113e20 commit b03ddc0

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

pkgs/by-name/se/sedutil/package.nix

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,40 @@
22
lib,
33
stdenv,
44
fetchFromGitHub,
5-
fetchpatch,
65
autoreconfHook,
6+
systemdLibs,
7+
libnvme,
78
}:
89

910
stdenv.mkDerivation rec {
1011
pname = "sedutil";
11-
version = "1.20.0";
12+
version = "1.49.6";
1213

1314
src = fetchFromGitHub {
1415
owner = "Drive-Trust-Alliance";
1516
repo = "sedutil";
16-
rev = version;
17-
sha256 = "sha256-NG/7aqe48ShHWW5hW8axYWV4+zX0dBE7Wy9q58l0S3E=";
17+
tag = version;
18+
hash = "sha256-5Fj5bFjtkaxan2vqQTxxlpcR3FK2HrFS6/9cM2xaZRI=";
1819
};
1920

20-
patches = [
21-
# Fix for gcc-13 pending upstream inclusion:
22-
# https://github.com/Drive-Trust-Alliance/sedutil/pull/425
23-
(fetchpatch {
24-
name = "gcc-13.patch";
25-
url = "https://github.com/Drive-Trust-Alliance/sedutil/commit/927cd88cad7bea94c2eebecc18f7881f0defaccb.patch";
26-
hash = "sha256-/Lvn3CQd7pzNhLa7sQY8VwbyJK/jEM5FzLijTQnzXx8=";
27-
})
28-
];
29-
3021
postPatch = ''
3122
patchShebangs .
3223
'';
3324

34-
nativeBuildInputs = [
35-
autoreconfHook
25+
nativeBuildInputs = [ autoreconfHook ];
26+
27+
buildInputs = [
28+
systemdLibs
29+
libnvme
3630
];
3731

3832
enableParallelBuilding = true;
3933

40-
meta = with lib; {
34+
meta = {
4135
description = "DTA sedutil Self encrypting drive software";
4236
homepage = "https://www.drivetrust.com";
43-
license = licenses.gpl3Plus;
44-
platforms = platforms.linux;
37+
license = lib.licenses.gpl3Plus;
38+
platforms = lib.platforms.linux;
4539
mainProgram = "sedutil-cli";
4640
};
4741
}

0 commit comments

Comments
 (0)