1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 04:48:10 +00:00
nixpkgs/pkgs/tools/security/sedutil/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
634 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "sedutil";
version = "1.15.1";
src = fetchFromGitHub {
owner = "Drive-Trust-Alliance";
repo = "sedutil";
rev = version;
sha256 = "0zg5v27vbrzzl2vqzks91zj48z30qgcshkqkm1g8ycnhi145l0mf";
};
postPatch = ''
patchShebangs .
'';
nativeBuildInputs = [ autoreconfHook ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "DTA sedutil Self encrypting drive software";
homepage = https://www.drivetrust.com;
license = licenses.gpl3;
platforms = platforms.linux;
};
}