depot/third_party/nixpkgs/pkgs/tools/backup/mt-st/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
698 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "mt-st-1.3";
src = fetchurl {
url = "https://github.com/iustin/mt-st/releases/download/${name}/${name}.tar.gz";
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.
'';
homepage = "https://github.com/iustin/mt-st";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.redvers ];
platforms = stdenv.lib.platforms.linux;
};
}