1{ lib
2, stdenv
3, fetchFromGitHub
4, gitUpdater
5, autoreconfHook
6}:
7
8stdenv.mkDerivation rec {
9 pname = "stenc";
10 version = "1.1.1";
11
12 src = fetchFromGitHub {
13 owner = "scsitape";
14 repo = "stenc";
15 rev = version;
16 sha256 = "GcCRVkv+1mREq3MhMRn5fICthwI4WRQJSP6InuzxP1Q=";
17 };
18
19 nativeBuildInputs = [ autoreconfHook ];
20
21 passthru.updateScript = gitUpdater { };
22
23 meta = {
24 description = "SCSI Tape Encryption Manager";
25 homepage = "https://github.com/scsitape/stenc";
26 license = lib.licenses.gpl2;
27 maintainers = with lib.maintainers; [ woffs ];
28 platforms = lib.platforms.linux;
29 };
30}