Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "mtx"; 5 version = "1.3.12"; 6 7 src = fetchurl { 8 url = "mirror://gentoo/distfiles/mtx-${version}.tar.gz"; 9 sha256 = "0261c5e90b98b6138cd23dadecbc7bc6e2830235145ed2740290e1f35672d843"; 10 }; 11 12 doCheck = false; 13 14 meta = { 15 description = "Media Changer Tools"; 16 longDescription = '' 17 The mtx command controls single or multi-drive SCSI media changers such as 18 tape changers, autoloaders, tape libraries, or optical media jukeboxes. It 19 can also be used with media changers that use the 'ATTACHED' API, presuming 20 that they properly report the MChanger bit as required by the SCSI T-10 SMC 21 specification. 22 ''; 23 homepage = "https://sourceforge.net/projects/mtx/"; 24 license = lib.licenses.gpl2; 25 maintainers = [ lib.maintainers.redvers ]; 26 platforms = lib.platforms.linux; 27 }; 28}