2020-11-26 09:07:19 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
2022-02-21 01:11:49 +00:00
|
|
|
, gitUpdater
|
2020-11-26 09:07:19 +00:00
|
|
|
, autoreconfHook
|
|
|
|
}:
|
2019-10-01 07:02:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "stenc";
|
2022-08-19 18:55:49 +00:00
|
|
|
version = "1.1.1";
|
2019-10-01 07:02:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scsitape";
|
|
|
|
repo = "stenc";
|
2020-11-01 22:39:49 +00:00
|
|
|
rev = version;
|
2022-08-19 18:55:49 +00:00
|
|
|
sha256 = "GcCRVkv+1mREq3MhMRn5fICthwI4WRQJSP6InuzxP1Q=";
|
2020-11-26 09:07:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2022-09-27 21:12:05 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
2019-10-01 07:02:32 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "SCSI Tape Encryption Manager";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/scsitape/stenc";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = with lib.maintainers; [ woffs ];
|
|
|
|
platforms = lib.platforms.linux;
|
2019-10-01 07:02:32 +00:00
|
|
|
};
|
|
|
|
}
|