Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
757 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "mt-st";
version = "1.8";
src = fetchFromGitHub {
owner = "iustin";
repo = "mt-st";
tag = "v${version}";
hash = "sha256-Sl+/v+ko3K4npY/M49H1YDxqOMy923qcAkTohi5Xg70=";
};
installFlags = [
"PREFIX="
"DESTDIR=$(out)"
"COMPLETIONINSTALLDIR=$(out)/share/bash-completion/completions"
];
meta = {
description = "Magnetic Tape control tools for Linux";
longDescription = ''
Fork of the standard "mt" tool with additional Linux-specific IOCTLs.
'';
homepage = "https://github.com/iustin/mt-st";
license = lib.licenses.gpl2Only;
maintainers = [ lib.maintainers.redvers ];
platforms = lib.platforms.linux;
};
}