2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2016-05-28 17:52:20 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-12 20:47:47 +01:00
|
|
|
pname = "mt-st";
|
|
|
|
version = "1.3";
|
2016-05-28 17:52:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-12 20:47:47 +01:00
|
|
|
url = "https://github.com/iustin/mt-st/releases/download/mt-st-${version}/mt-st-${version}.tar.gz";
|
2016-05-28 17:52:20 +01:00
|
|
|
sha256 = "b552775326a327cdcc076c431c5cbc4f4e235ac7c41aa931ad83f94cccb9f6de";
|
|
|
|
};
|
|
|
|
|
|
|
|
installFlags = [ "PREFIX=$(out)" "EXEC_PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Magnetic Tape control tools for Linux";
|
|
|
|
longDescription = ''
|
|
|
|
Fork of the standard "mt" tool with additional Linux-specific IOCTLs.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/iustin/mt-st";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.redvers ];
|
|
|
|
platforms = lib.platforms.linux;
|
2016-05-28 17:52:20 +01:00
|
|
|
};
|
|
|
|
}
|