1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/tools/backup/mt-st/default.nix
2024-05-02 21:06:26 +02:00

25 lines
720 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.gpl2Only;
maintainers = [ lib.maintainers.redvers ];
platforms = lib.platforms.linux;
};
}