at 23.11-beta 24 lines 716 B view raw
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "mt-st"; 5 version = "1.3"; 6 7 src = fetchurl { 8 url = "https://github.com/iustin/mt-st/releases/download/mt-st-${version}/mt-st-${version}.tar.gz"; 9 sha256 = "b552775326a327cdcc076c431c5cbc4f4e235ac7c41aa931ad83f94cccb9f6de"; 10 }; 11 12 installFlags = [ "PREFIX=$(out)" "EXEC_PREFIX=$(out)" ]; 13 14 meta = { 15 description = "Magnetic Tape control tools for Linux"; 16 longDescription = '' 17 Fork of the standard "mt" tool with additional Linux-specific IOCTLs. 18 ''; 19 homepage = "https://github.com/iustin/mt-st"; 20 license = lib.licenses.gpl2; 21 maintainers = [ lib.maintainers.redvers ]; 22 platforms = lib.platforms.linux; 23 }; 24}