2020-11-26 10:07:19 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, genericUpdater
|
|
|
|
, common-updater-scripts
|
|
|
|
, autoreconfHook
|
|
|
|
}:
|
2019-10-01 09:02:32 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "stenc";
|
2020-11-26 10:07:19 +01:00
|
|
|
version = "1.0.8";
|
2019-10-01 09:02:32 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scsitape";
|
|
|
|
repo = "stenc";
|
2020-11-01 23:39:49 +01:00
|
|
|
rev = version;
|
2020-11-26 10:07:19 +01:00
|
|
|
sha256 = "0dsmvr1xpwkcd9yawv4c4vna67yag7jb8jcgn2amywz7nkpzmyxd";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
passthru.updateScript = genericUpdater {
|
|
|
|
inherit pname version;
|
|
|
|
versionLister = "${common-updater-scripts}/bin/list-git-tags ${src.meta.homepage}";
|
2019-10-01 09:02:32 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "SCSI Tape Encryption Manager";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/scsitape/stenc";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = with lib.maintainers; [ woffs ];
|
|
|
|
platforms = lib.platforms.linux;
|
2019-10-01 09:02:32 +02:00
|
|
|
};
|
|
|
|
}
|