depot/third_party/nixpkgs/pkgs/tools/backup/mt-st/default.nix
Default email b6f2ab0a42 Project import generated by Copybara.
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
2021-08-18 15:19:15 +02:00

24 lines
716 B
Nix

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