Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
757 B
Nix
35 lines
757 B
Nix
{
|
|
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;
|
|
};
|
|
}
|