ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / se / sedutil / package.nix
blob0e83472da0e70638328e404f2aea1b5250668220
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , fetchpatch
5 , autoreconfHook
6 }:
8 stdenv.mkDerivation rec {
9   pname = "sedutil";
10   version = "1.20.0";
12   src = fetchFromGitHub {
13     owner = "Drive-Trust-Alliance";
14     repo = "sedutil";
15     rev = version;
16     sha256 = "sha256-NG/7aqe48ShHWW5hW8axYWV4+zX0dBE7Wy9q58l0S3E=";
17   };
19   patches = [
20     # Fix for gcc-13 pending upstream inclusion:
21     #   https://github.com/Drive-Trust-Alliance/sedutil/pull/425
22     (fetchpatch {
23       name = "gcc-13.patch";
24       url = "https://github.com/Drive-Trust-Alliance/sedutil/commit/927cd88cad7bea94c2eebecc18f7881f0defaccb.patch";
25       hash = "sha256-/Lvn3CQd7pzNhLa7sQY8VwbyJK/jEM5FzLijTQnzXx8=";
26     })
27   ];
29   postPatch = ''
30     patchShebangs .
31   '';
33   nativeBuildInputs = [
34     autoreconfHook
35   ];
37   enableParallelBuilding = true;
39   meta = with lib; {
40     description = "DTA sedutil Self encrypting drive software";
41     homepage = "https://www.drivetrust.com";
42     license = licenses.gpl3Plus;
43     platforms = platforms.linux;
44   };