3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/backup/stenc/default.nix

35 lines
775 B
Nix
Raw Normal View History

2020-11-26 09:07:19 +00:00
{ lib
, stdenv
, fetchFromGitHub
, genericUpdater
, common-updater-scripts
, autoreconfHook
}:
2019-10-01 08:02:32 +01:00
stdenv.mkDerivation rec {
pname = "stenc";
2020-11-26 09:07:19 +00:00
version = "1.0.8";
2019-10-01 08:02:32 +01:00
src = fetchFromGitHub {
owner = "scsitape";
repo = "stenc";
rev = version;
2020-11-26 09:07:19 +00: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 08:02:32 +01:00
};
meta = {
description = "SCSI Tape Encryption Manager";
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 08:02:32 +01:00
};
}